General InformationThis opening ID is invoked when creating a main view using the Insert 2D Main View Representation command.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample validates the creation of a main view under a logical or functional reference.
Let TName=""
Let PrimaryType(Type)
set PrimaryType = ThisObject.PrimaryType
TName = PrimaryType.Name
if (TName == "RFLPLMFunctionalReference")
Validation = true
else if (TName == "RFLVPMLogicalReference")
Validation = true
// Invalidate creation of main view for MyCustomizedTypeName: TName contains MyCustomizedTypeName
else if (TName <> (TName - "MyCustomizedTypeName"))
Validation = false
else
Validation = true
| |||||||||||||||||||||||