[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]

Secure Parts for Section Views

Function Index Top of Page

SD-INQ-SECURE-SECTION-FLAG  [function]

(sd-inq-secure-section-flag part-or-workplane
Description:
Returns section behaviour inside views of the specified part / workplane.

Parameters:
part {SEL_ITEM} - SEL_ITEM of a part / workplane to be inquired

Return Value:
t - the part / workplane is secured for section views
nil - the part / workplane is not secured for section views

Example:
(sd-inq-secure-section-flag (sd-inq-curr-part))

Function Index Top of Page

SD-SET-SECURE-SECTION-FLAG  [function]

(sd-set-secure-section-flag part-or-workplane
                            :secure-section-flag secure-section-flag)
Description:
Secures a part / workplane globally to be sectioned or not sectioned in Annotation views.

Parameters:
part {SEL_ITEM} - The part / workplane to be modified.
:secure-section-flag {{BOOLEAN [t]}}
When the parameter is set to true the part / workplane will be secured and not sectioned in Annotation views. When the parameter is set to nil the part / workplane will be sectioned in Annotation views.

Return Value:
t - modification was succesful
nil - an error occured, a second return value gives an advice about the error.

Example:
(sd-set-secure-section-flag (sd-inq-curr-part) :SECURE-SECTION-FLAG T)
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2019 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved