|
|
|
|
|
|
|
|
|
• | p_feat_handle—Specifies a ProAsmcomp handle to the assembly component. |
• | index—Specifies the constraint index. Pass the value as –1 to remove all the constraints. Use the function ProAsmcompConstraintGet() to determine the index of a particular constraint. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | PRO_ASM_UNDEF—Use this option to initialize a variable. This option is never returned by the function ProAsmcompconstraintTypeGet() and can be ignored. |
• | PRO_ASM_MATE—Use this option to make two surfaces coincident with one another and facing each other. |
• | PRO_ASM_MATE_OFF—Use this option to make two planar surfaces parallel and facing each other. |
• | PRO_ASM_ALIGN—Use this option to make two planes coplanar, two axes coaxial or two points coincident. You can also align revolved surfaces or edges. |
• | PRO_ASM_ALIGN_OFF—Use this option to align two planar surfaces at an offset. |
• | PRO_ASM_INSERT—Use this option to insert a "male" revolved surface into a "female" revolved surface, making their respective axes coaxial. |
• | PRO_ASM_ORIENT—Use this option to make two planar surfaces to be parallel in the same direction. |
• | PRO_ASM_CSYS—Use this option to place a component in an assembly by aligning the coordinate system of the component with the coordinate system of the assembly. |
• | PRO_ASM_TANGENT—Use this option to force two surfaces to be tangent. |
• | PRO_ASM_PNT_ON_SRF—Use this option to align a point with a of a surface. |
• | PROS_ASM_EDGE_ON_SRF—Use this option to align a straight edge with a surface. |
• | PRO_ASM_DEF_PLACEMENT—Use this option to align the default coordinate system of the component to the default coordinate system of the assembly. |
• | PRO_ASM_SUBSTITUTE—This constraint type is used in simplified representations only when the component is replaced by a substitute component. |
• | PRO_ASM_PNT_ON_LINE—Use this option to force the intersection of a line with a point. |
• | PRO_ASM_FIX—Use this option to fix the current location of the component as a constraint. |
• | PRO_ASM_AUTO—Not for use by Creo TOOLKIT. |
• | PRO_ASM_ALIGN_ANG_OFF—This option can only be used in conjunction with another constraint. If you have two flat surfaces and create an align edge or axis constraint where the edge or axis lies on the surface, then you can specify an angle offset constraint between the two surfaces. |
• | PRO_ASM_MATE_ANG_OFF—This option can only be used in conjunction with another constraint. If you have two flat surfaces and create a mate edge or axis constraint where the edge or axis lies on the surface, then you can specify an angle offset constraint between the two surfaces. |
• | PRO_ASM_CSYS_PNT—This option can be used in User Defined, General, and Gimbal connections. Use this option to place a component in an assembly by aligning the origins of the coordinate systems. Here the axes are not aligned, and thus, the component can be freely rotated along the three rotation axes. In User Defined and Rigid connections you can switch from Coord Sys Point to Coord Sys constraint and vice-versa. |
• | PRO_ASM_TANGENT_ALIGN—Use this option to support flip in tangent constraint. OR Use this option to flip the component and align it in the other direction. This supports flipping in the tangent constraint.
|
• | PRO_DATUM_SIDE_YELLOW—The primary side of the datum plane which is the default direction of the arrow. |
• | PRO_DATUM_SIDE_RED—The secondary side of the datum plane which is the direction opposite to that of the arrow. |
• | PRO_DATUM_SIDE_NONE—No orientation is specified. |
• | PRO_DATUM_SIDE_YELLOW—The primary side of the datum plane which is the default direction of the arrow. |
• | PRO_DATUM_SIDE_RED—The secondary side of the datum plane which is the direction opposite to that of the arrow. |
• | PRO_DATUM_SIDE_NONE—No orientation is specified. |
• | PRO_ASM_CONSTR_ATTR_FORCE—Force the constraint, causing strict alignment for axes, lines, and points. You can force a constraint only if the constraint type is Align. |
• | PRO_ASM_CONSTR_ATTR_IGNORE—Not for use by Creo TOOLKIT. |
• | PRO_ASM_CONSTR_ATTR_NONE—No constraint attributes are specified. This is the default value. |
• | PRO_ASM_CONSTR_ATTR_INTFC_DEPENDENT—When set in a component interface, the constraint cannot be changed by application of settings making it coincident, offset, or reoriented. |
• | PRO_ASM_CONSTR_ATTR_INACTIVE—The constraint should not be applied to the feature. This corresponds to the Constraint Enabled check box in the component feature user interface. |
• | PRO_E_COMPONENT_SET_ID—Specifies the component set id. This value is generated automatically by Creo Parametric upon creation of the set. The set ids should remain the same when redefining the component. |
• | PRO_E_COMPONENT_SET_TYPE—Specifies the component set type. The following table describes the valid values in details. |
Component Set Type
|
Description
|
---|---|
PRO_ASM_SET_TYPE_FIXED
|
A "Rigid" Mechanism connection: Connects two components so that they do not move relatively to each other.
|
PRO_ASM_SET_TYPE_PIN
|
A "Pin" Mechanism connection: Connects a component to a referenced axis so that the component rotates or moves along this
axis with one degree of freedom.
|
PRO_ASM_SET_TYPE_SLIDER
|
A "Slider" Mechanism connection: Connects a component to a referenced axis so that the component moves along the axis with
one degree of freedom.
|
PRO_ASM_SET_TYPE_CYLINDRICAL
|
A "Slider" Mechanism connection: Connects a component so that it moves along and rotates about a specific axis with two degrees
of freedom.
|
PRO_ASM_SET_TYPE_PLANAR
|
A "Planar" Mechanism connection: Connects components so that they move in a plane relatively to each other with two degrees
of freedom in the plane and one degree of freedom around an axis perpendicular to it.
|
PRO_ASM_SET_TYPE_BALL
|
A "Ball" Mechanism connection: Connects a component so that it can rotate in any direction with three degrees of freedom (360?
rotation).
|
PRO_ASM_SET_TYPE_WELD
|
A "Weld" Mechanism connection: Connects a component to another so that they do not move relatively to each other.
|
PRO_ASM_SET_TYPE_BEARING
|
A "Bearing" Mechanism connection: A combination of Ball and Slider connections with four degrees of freedom.
|
PRO_ASM_SET_TYPE_GENERAL
|
A "General" Mechanism connection: Has one or two configurable constraints that are identical to those in a user-defined set.
|
PRO_ASM_SET_TYPE_6DOF
|
A "Six Degrees of Freedom" Mechanism connection: Does not affect the motion of the component in relation to the assembly because
no constraints are applied.
|
PRO_ASM_SET_TYPE_GIMBAL
|
A “Gimbal” Mechanism connection: This connection behaves similar to the "Six Degrees of Freedom" connection except that in
Gimbal connection the translational degrees of freedom are locked.
|
PRO_ASM_SET_TYPE_SLOT
|
A "Slot" Mechanism connection: A point on a non straight trajectory. This connection has four degrees of freedom, where the
point follows the trajectory in three directions.
|
PRO_ASM_SET_USER_DEFINED_TYPE
|
A user defined constraint set. Legacy components which do not have defined Mechanism connections will always use this type.
|
• | PRO_E_COMPONENT_SET_NAME—Specifies the name of the component set. |
• | PRO_E_COMPONENT_SET_MISC_ATTR—Specifies the component set attributes. Currently, these attributes are limited to flags which enable or disable the set. |
• | PRO_E_COMPONENT_JAS_SETS is an array of compound elements of type PRO_E_COMPONENT_JAS_SET which indicate Joint Axis Set (JAS). It represents the motion axis settings for the Mechanism connection. It consists of
the following elements—
|
• | PRO_E_COMPONENT_CONSTR_TYPE—See discussion regarding Assembling a Component Parametrically. |
• | PRO_E_COMPONENT_COMP_CONSTR_REF—Identifies the geometry item in the component referenced by the constraint. This element is of type Selection. |
• | PRO_E_COMPONENT_ASSEM_CONSTR_REF—Identifies the constraint reference in the assembly. Note
this reference must include a component path referencing the top level assembly, even if the reference belongs directly to
the top level assembly.
|
• | PRO_E_COMPONENT_CONSTR_REF_OFFSET—Gives the offset value, if the constraint type is an offset. |
• | PRO_E_COMPONENT_USER_DATA—Specifies user data. |
• | PRO_E_COMPONENT_CONSTR_ATTR—See discussion under Assembling a Component Parametrically. |
• | The elements PRO_E_COMPONENT_COMP_ORIENT and PRO_E_COMPONENT_ASSM_ORIENT indicate which side of a referenced surface to be used. These values have different meanings for user-defined constraint sets and mechanism connections. See discussion under ProAsmcompconstraintAsmreferenceGet() and ProAsmcompconstraintCompreferenceGet(). |
• | PRO_E_COMPONENT_CONSTR_SET_ID—Specifies the index of the member of the array of PRO_E_COMPONENT_SET elements that owns the constraint. |
• | PRO_E_COMPONENT_SLOT_EXTRA_CRV_REF—Specifies the extra curve references used by a Slot connection only. This is a multivalued element. |
• | PRO_E_COMPONENT_MOVEMENT_TYPE specifies allowed movement types |
• | PRO_ASM_TRANSLATE_X |
• | PRO_ASM_TRANSLATE_Y |
• | PRO_ASM_TRANSLATE_Z |
• | PRO_ASM_ROTATE_X |
• | PRO_ASM_ROTATE_Y |
• | PRO_ASM_ROTATE_Z |
• | PRO_ASM_TWIST_FIT |
• | PRO_E_COMPONENT_MOVEMENT_REF specifies the translational and rotational motion references. |
• | PRO_E_COMPONENT_MOVEMENT_VALUE |
• | PRO_E_COMP_PLACE_INTERFACE_TYPE—Specifies the interface types as follows:
Note
If this value is not set (set to 0) then component interfaces are not used to define this component.
|
• | PRO_E_COMP_PLACE_INTERFACE_COMP—Specifies the component model interface. This should contain the component interface feature. |
• | PRO_E_COMP_PLACE_INTERFACE_ASSEMS—Specifies an array of assembly references. If the placement type is PRO_ASM_INTFC_TO_GEOM this contains 1 or more geometric references from the assembly. If the placement type is PRO_ASM_INTFC_TO_INTFC this contains a single reference element containing the component interface feature. |