PRODUCT_Types (no NLS) Methods

This page discusses:

ProductOccurrence.CreateTrack()

-

Signature

ProductOccurrence.CreateTrack() : DNBFitTrack

ReturnType

DNBFitTrack

ProductOccurrence.GetAttributeOnConnectedPorts()

-

Signature

ProductOccurrence.GetAttributeOnConnectedPorts(Linked Object : ProductOccurrence, Attribute : String, This Object Value : String, Linked Object Value : String) : Integer

Arguments

Name Input/Output Required? Type Comment
Linked Object In ProductOccurrence -
Attribute In String -
This Object Value Out String -
Linked Object Value Out String -

ReturnType

Integer

ProductOccurrence.GetAttributeOnConnectedPorts()

-

Signature

ProductOccurrence.GetAttributeOnConnectedPorts(Linked Object : ProductOccurrence, Attribute : String, This Object Value : LENGTH, Linked Object Value : LENGTH) : Integer

Arguments

Name Input/Output Required? Type Comment
Linked Object In ProductOccurrence -
Attribute In String -
This Object Value Out LENGTH -
Linked Object Value Out LENGTH -

ReturnType

Integer

ProductOccurrence.GetRelatedObjects()

-

Signature

ProductOccurrence.GetRelatedObjects() : List

ReturnType

List

ProductOccurrence.ResetAllGraphicalProperties()

Method used to reset all graphical properties (transient and persistent) defined in an occurrence tree. -

Signature

ProductOccurrence.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. -

Signature

ProductOccurrence.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. -

Signature

ProductOccurrence.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()