Signature
GetXCADPointed(iPointingObject : Type="PLMEntity"/>) : List
Arguments
| Name |
Input / Output |
Required? |
Type |
Comment |
Execution Profile |
"iPointingObject" |
In |
Yes |
Type="PLMEntity"/> |
|
Constant read |
Note:
An error message appears if the object is not a PLMReference or
PLMRepresentationReference.
Example
Let oPointedObjects (List)
Let lNbPointed (Integer)
Trace(1, "inside script")
Trace(1, "Element : #", (ThisObject : BusinessType).PrimaryType.Name)
oPointedObjects = GetXCADPointed(ThisObject)
Trace(1,"test Rule executed")
lNbPointed = oPointedObjects.Size()
Trace(1, "lNbPointed: " + lNbPointed)
if (lNbPointed == 0)
{
Trace(1,"test Rule refused")
}