Accessing ProMechPoint
An opaque handle called a
ProMechPoint represents a datum point member of the model. By default, the
Creo Simulate geometry will include only those points which have
Creo Simulate loads or other items referencing them; you can generate additional points by including them as inputs to
ProMechmodeldataEntitiesSet().
Functions Introduced:
The function types
ProMechpointVisitAction() and
ProMechpointFilterAction() are used as arguments to functions that visit
ProMechPoint objects.
Use the function
ProMechpointIdGet() to obtain the ID of the point.
|
Note:
|
This ID is not persistent and is not related to the Creo Parametric point ID.
|
Use the function
ProMechpointOwnerGet() to obtain the owner model of the given point.
Use the function
ProMechpointPointGet() to obtain the coordinates of the point.
Use the function
ProMechpointPlacementtypeGet() to obtain the placement type for the point. Following are list of possible placement types:
• PRO_MECH_PNT_FREE signifies that the point is not attached to a solid or shell.
• PRO_MECH_PNT_FACE signifies that the point lies on a ProMechSurface.
• PRO_MECH_PNT_EDGE signifies that the point lies on a ProMechEdge.
• PRO_MECH_PNT_VERTEX signifies that the point lies on a ProMechVertex.
Use the function
ProMechpointPlacementsurfaceGet() to obtain the placement surface, if the placement type is
PRO_MECH_POINT_FACE.
Use the function
ProMechpointPlacementedgeGet() to obtain the placement edge, if placement type is
PRO_MECH_POINT_EDGE.
Use the function
ProMechpointPlacementvertexGet() to obtain the placement vertex, if the placement type is
PRO_MECH_POINT_VERTEX.
Use the function
ProMechpointAncestorsGet() to obtain the ancestor points for the given point. These are the actual
Creo Parametric geometry points used to construct this
Creo Simulate point.