Documentazione API > Miscellaneous > Object ProCavitylayout > Function ProCavitylayoutSelect
Function ProCavitylayoutSelect
Description
Upon selection of a component initializes the handle of the cavity layout where this component belongs
Synopsis
ProCavitylayoutSelect
(
ProMdl owner_assem
/* (In)
The top assembly to own the layout (may be either regular assembly or mold/casting model)
*/
ProCavityLayout* cvlayout
/* (Out)
Pointer to the layout handle
*/
)
Returns
The handle is successfully initialized.
The owner type is not allowed
The selected component does not belong to any cavity layout.
Cannot initialize the handle
Sample Code References
È stato utile?