Created
August 19, 2022 16:26
-
-
Save johnpierson/1ca90c7a23fba56ed2db68384e7e3170 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load the Python Standard and DesignScript Libraries | |
import sys | |
import clr | |
clr.AddReference('PresentationCore') | |
from System.Windows.Media import FontFamily | |
clr.AddReference('AdWindows') | |
from Autodesk.Windows import * | |
# Place your code below this line | |
ComponentManager.FontSettings.ComponentFontFamily = FontFamily("Comic Sans MS"); | |
# Assign your output to the OUT variable. | |
OUT = "succesfully changed your ribbon to {0}".format(ComponentManager.FontSettings.ComponentFontFamily) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to design font with smiling text and set at at ribbon ))
Thx )))