ProductOccurrence.CreateTrack()ProductOccurrence.GetAttributeOnConnectedPorts()SignatureProductOccurrence.GetAttributeOnConnectedPorts(Linked Object : ProductOccurrence, Attribute : String, This Object Value : String, Linked Object Value : String) : Integer Arguments
ReturnTypeInteger ProductOccurrence.GetAttributeOnConnectedPorts()SignatureProductOccurrence.GetAttributeOnConnectedPorts(Linked Object : ProductOccurrence, Attribute : String, This Object Value : LENGTH, Linked Object Value : LENGTH) : Integer Arguments
ReturnTypeInteger ProductOccurrence.GetRelatedObjects()ProductOccurrence.ResetAllGraphicalProperties()Method used to reset all graphical properties (transient and persistent) defined in an occurrence tree. - SignatureProductOccurrence.ResetAllGraphicalProperties() Example// rootOccurrence is an input parameter of this script of type ProductOccurrence // Transform all the transient graphical properties in persistent graphical properties rootOccurrence.KeepGraphicalModifications() // Reset transient graphical properties rootOccurrence.ResetTransientGraphicalProperties() // Reset both : transient & persistent graphical properties rootOccurrence.ResetAllGraphicalProperties() ProductOccurrence.ResetTransientGraphicalProperties()Method used to reset only transient Graphical Properties defined in an occurrence tree. - SignatureProductOccurrence.ResetTransientGraphicalProperties() Example// rootOccurrence is an input parameter of this script of type ProductOccurrence // Transform all the transient graphical properties in persistent graphical properties rootOccurrence.KeepGraphicalModifications() // Reset transient graphical properties rootOccurrence.ResetTransientGraphicalProperties() // Reset both : transient & persistent graphical properties rootOccurrence.ResetAllGraphicalProperties() ProductOccurrence.KeepGraphicalModifications()Method used to transform all the transient graphical properties defined in the context of the input root occurrence in persistent graphical properties. Once saved, those Properties will be effective at each open and in all contexts. - SignatureProductOccurrence.KeepGraphicalModifications() Example// rootOccurrence is an input parameter of this script of type ProductOccurrence // Transform all the transient graphical properties in persistent graphical properties rootOccurrence.KeepGraphicalModifications() // Reset transient graphical properties rootOccurrence.ResetTransientGraphicalProperties() // Reset both : transient & persistent graphical properties rootOccurrence.ResetAllGraphicalProperties() |