Role: To place physical parts.
Properties
- Property ErrorMessage() As (Read Only)
-
Returns the message associated with the last error.
Role: If an error occurs when placing or routing a part, a message is associated with the error.- Returns:
- The error message associated with the last error. Null if no error. dd>
Methods
- Func PlacePartInSpace( iuStandard, iuFunctionType, ipiReferencePart, ipiParentProduct, ipiLogicalLine, iuPlacedPartID, iUpDirection, iHorizontalOrientation, iPosition) As
-
Places a part in space.
Role: The part instance is placed given its reference with respect to its parent product. The Part Placement engine will not perform any of it's normal checks for interactions with nearby parts. Part is placed non-spec.- Parameters:
-
- iuStandard
- The standard for application attribute values. dd>
- iuFunctionType
- The type of function (e.g. block valve, branch). Used when no function is specified but functional part placement is required. dd>
- ipiReferencePart
- The reference part from which to derive the instance part. dd>
- ipiParentProduct
- The parent product (in the design model) for the new instance part. dd>
- ipiLogicalLine
- The logical line (e.g. piping line) which contains the instance part. dd>
- iuPlacedPartID
- The name of the placed part in the design model. Null uses the standard ID generated by the part placement engine. dd>
- iUpDirection
- The up direction for the placed part. The list has three values which represent the x, y and z values of a unit direction vector. Value is relative to ipiParentProduct. dd>
- iHorizontalOrientation
- The orientation of the part in "horizontal" plane (plane perpendicular to up direction). Must be perpendicular to iUpDirection. The list has three values which represent the x, y and z values of a unit direction vector. Value is relative to ipiParentProduct. dd>
- iPosition
- The position of the part. The list has three values which represent the x, y and z values of a position in space. Value is relative to ipiParentProduct and expressed in millimeters. dd>
- Returns:
- The placed instance part. dd>
- Func RouteStringPartInSpace( iuStandard, iuFunctionType, ipiReferencePart, ipiParentProduct, ipiLogicalLine, iuPlacedPartID, iFirstPointUpDirection, ipiListPoints, iListBendRadii) As
-
Routes a string part.
Role: The string part instance, such as a pipe, a tube, or a duct, is placed given its reference with respect to its parent product. The Part Placement engine will not perform any of it's normal checks for interactions with nearby parts. Part is placed non-spec.- Parameters:
-
- iuStandard
- The standard for application attribute values. dd>
- iuFunctionType
- The type of function (e.g. Block valve, branch). Used when no function is specified but functional part placement is required. dd>
- ipiReferencePart
- The reference part from which to derive the instance part. dd>
- ipiParentProduct
- The parent product (in the design model) for the new instance part. dd>
- ipiLogicalLine
- The logical line (e.g. piping line) which contains the instance part. dd>
- iuPlacedPartID
- The name of the placed part in the design model. Null uses the standard ID generated by the part placement engine. dd>
- iFirstPointUpDirection
- The up direction of the first point of the string part. The list has three values which represent the x, y and z values of a unit direction vector. Value is relative to ipiParentProduct. dd>
- ipiListPoints
- The list of points that describe the path of the string. If the string part is stretchable, the list should contain two points. dd>
- iListBendRadii
- The list of bend radii at each corner of the string part. This list is ignored if the string part is stretchable. This list is only for interior points and so should have two less elements than ipiListPoints. (for example, if ipiListPoints has six points, iListBendRadii should have four radii values). Values are in milimeters. dd>
- Returns:
- The routed string part. dd>