Compute 3D Physical Reference (L2P_Compute3DReference)

An opening ID is an entry point used to customize business logic. The Compute 3D Physical Reference opening ID is available in the Logical to Physical Assistant Resources resource set.

This page discusses:

General Information

This opening ID is invoked to compute the physical reference to be instantiated in the 3D corresponding to the logical object.

Definition Description
PLM Opening ID L2P_Compute3DReference
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: an L2PItem object, containing the data found during the analysis of a Logical Object.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
PhysicalElement VPMReference Write -
PreDefinedPartNumber String Read or Write Name of a 3D Reference, to search the database or the catalog

Sample

let logocc(LogicalOccurrence)
let sInstName(String)

set logocc = ThisObject.Facet2D

sInstName = logocc.Name
if(0 <= sInstName.Search("Equ1"))
{
	Parameters.SetAttributeString("PreDefinedPartNumber", "Equ")
}