formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | 2D Enclosure
Description
Parameter identifiers for a parametric 2d enclosure object. Used for the "which" argument of fz_objt_edit_enclos2d_parm_get and fz_objt_edit_enclos2d_parm_set.
enum fz_objt_enclos2d_parm_enum {
FZ_OBJT_ENCLOS2D_PARM_WIDTH,
FZ_OBJT_ENCLOS2D_PARM_ALIGN,
FZ_OBJT_ENCLOS2D_PARM_SRC_OBJ };
Members
FZ_OBJT_ENCLOS2D_PARM_WIDTH
Editing - 2d enclosure width.
Type: double
Range: value > 0.0
FZ_OBJT_ENCLOS2D_PARM_ALIGN
Editing - 2d enclosure alignment.
Type: fz_align_lcr_enum
FZ_OBJT_ENCLOS2D_PARM_SRC_OBJ
Editing - 2d enclosure source object. After creating a 2d enclosure object, the source object itself can be replaced by passing in a new object using the fz_objt_edit_enclos2d_parm_set API function. Note, that the same restrictions apply for this object as for the one used to construct the 2d enclosure initially. When getting this parameter from an existing 2d enclosure, a copy of the source is made and passed back. It is the responsibility of the calling function to delete this new object afterwards.
Type: fz_objt_ptr
Availability
5.0.0.0
Defined in