Type: BCS.Sym3.IGlobalProjectSettings
Global project settings
Properties
BadQualityColor
- Description: Gets or sets the color to be used in case of bad quality on a color property
- Type: IResourceColor
- Access: Read and Write
- Example:
<code>
// get bad quality color:
print("BadQualityColor = " + Project.Settings.BadQualityColor);
// set bad quality color:
Project.Settings.BadQualityColor = Project.Colors.Get("Sym3 Blue");
</code>
// get bad quality color:
print("BadQualityColor = " + Project.Settings.BadQualityColor);
// set bad quality color:
Project.Settings.BadQualityColor = Project.Colors.Get("Sym3 Blue");
BadQualityText
- Description: Gets or sets the text to be used in case of bad quality on a string property (Text Display, 3D Label)
- Type: String
- Access: Read and Write
- Example:
<code>
// get bad quality text:
print("BadQualityText = " + Project.Settings.BadQualityText);
// set bad quality text:
Project.Settings.BadQualityText = "ERROR";
</code>
// get bad quality text:
print("BadQualityText = " + Project.Settings.BadQualityText);
// set bad quality text:
Project.Settings.BadQualityText = "ERROR";
BadQualityVisibility
- Description: Gets or sets the visibility to be used in case of bad quality on a visible property
- Type: Boolean
- Access: Read and Write
- Example:
<code>
// get bad quality visibility:
print("BadQualityVisibility = " + Project.Settings.BadQualityVisibility);
// set bad quality visibility:
Project.Settings.BadQualityVisibility = false;
</code>
// get bad quality visibility:
print("BadQualityVisibility = " + Project.Settings.BadQualityVisibility);
// set bad quality visibility:
Project.Settings.BadQualityVisibility = false;
Methods
FromXmlString(BCS.IToolXmlToObjectHelper)
Init object from IToolXmlToObjectHelper. All properties found in the RootElement of IToolXmlToObjectHelper will be set with the value in the rootElement
- Parameters:
- xmlHelperObj: xmlHelperObj IToolXmlToObjectHelper
FromXmlString(System.String)
Init object from xml. All properties found in the xml will be set with the value in the xml file
- Parameters:
- xmlText: Xml string
FromXmlString(System.Xml.Linq.XElement)
Init object from root element. All properties found in the XElement will be set with the value in the XElement
- Parameters:
- objXml: objXml XElement
ToXmlString
Converts the object in an xml string
- Returns:
- the string that contains xml version of the object