General InformationThis opening ID is invoked when you use the following commands:
For more information, see Electrical 3D Design User's Guide: Using Smart Place.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample illustrates how to validate the duplication and instantiation of a reference.
let SelectedReference (PLMEntity) set SelectedReference = Parameters->GetAttributeObject("ReferenceToInstantiate") Validation = true if (SelectedReference.IsSupporting("SharedSupportPart") == true) { if (ThisObject.IsSupporting("VPMReference") == true) { Validation = true Parameters.SetAttributeBoolean("DAIAvailabilityCheck", true) Parameters.SetAttributeString("DuplicationString", "ABC") } else { Validation = false Parameters.SetAttributeString("DuplicationString", "XYZ") } if( false == Validation) { Parameters.Message = "Input part is not a flexible support." } } |