Example 1: Component Constraints
The sample code in the file UgAsmcompConstraint.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_asm displays each constraint of the component visually on the screen, and includes a text explanation for each constraint.
Example 2: Assembling Components
The sample code in the file UgAsmcompConstraint.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_asm demonstrates how to assemble a component into an assembly, and how to constrain the component by aligning datum planes. If the complete set of datum planes is not found, the function will show the component constraint dialog to the user to allow them to adjust the placement as they wish.
這是否有幫助?