Introduction
Purpose: you want to force or compute the value of some 2D piping part attributes from the lineID
Code Example 1
Code Example : simple : propagate description
//Linid : LogicalOccurrence //-------------------------- Let ListMember(List) Let i(Integer) Let PipingLogicalOcc(LogicalOccurrence) Let PipingLogicalInstance(RFLVPMLogicalInstance) Let PipingLineIdRef(RFLVPMLogicalReference) set PipingLineIdRef=Linid.Reference ListMember=ListPipingLineIDMembers(Linid) If ListMember.Size() <> 0 { i = 1 For i while i <= ListMember.Size() { set PipingLogicalOcc = ListMember.GetItem(i) set PipingLogicalInstance = PipingLogicalOcc.Instance PipingLogicalInstance.V_description = PipingLineIdRef.V_description } }
3DXML
Video