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

Inseparables

Parts and assemblies can be marked inseparable, which means that those objects and all their subcomponents are henceforth stored into either a single file or as only one database item.

Function Index Top of Page

SD-INQ-INSEPARABLE-P  [function]

(sd-inq-inseparable-p object)
Description:
sd-inq-inseparable-p can be used to find out whether a given object was marked as inseparable.

Parameters:
object {SEL_ITEM} - the object for which the status is to be inquired

Return Value:
t - if the object is marked inseparable
nil - if the object is not marked inseparable

Function Index Top of Page

SD-INQ-INSEPARABLE-CHILD-P  [function]

(sd-inq-inseparable-child-p object)
Description:
sd-inq-inseparable-child-p can be used to find out whether a given object was marked inseparable, and specifically, whether it is the master (top-level object) in an inseparable assembly or a subcomponent of that master.

Parameters:
object {SEL_ITEM} - the object for which the status is to be inquired

Return Value:
t - if this is a inseparable child object
nil - if this is not an inseparable child object

Function Index Top of Page

SD-INQ-INSEPARABLE-MASTER-P  [function]

(sd-inq-inseparable-master-p object)
Description:
sd-inq-inseparable-master-p can be used to find out whether a given object is the master (top-level object) in an inseparable assembly.

Parameters:
object {SEL_ITEM} - the object for which the status is to be inquired

Return Value:
t - if the object is an inseparable master
nil - if the object is not an inseparable master

Function Index Top of Page

SD-SET-INSEPARABLE  [function]

(sd-set-inseparable object)
Description:
sd-set-inseparable can be used to mark a part or assembly as inseparable.

When a part or assembly is marked inseparable, the following changes are made to all subcomponents:

Parameters:
object {SEL_ITEM} - the object to be marked as inseparable

Return Value:
t - object was marked successfully
nil - object could not be marked

Example:
(sd-set-inseparable "/a1")

SET_INSEPARABLE  [terminate action]

(set_inseparable :master object)
Description:
This is a dialog, i.e. when used from other dialogs, calls must be wrapped in sd-call-cmds. Use this command to mark a part or assembly as inseparable.

When a part or assembly is marked inseparable, the following changes are made to all subcomponents:

Parameters:
object {SEL_ITEM} - the object to be marked as inseparable

Return Value:
t - object was marked successfully
nil - object could not be marked

Example:
(set_inseparable :master "/a1")

Function Index Top of Page

SD-CLEAR-INSEPARABLE  [function]

(sd-clear-inseparable object)
Description:
Use sd-clear-inseparable if you no longer want a part or assembly to be inseparable.

When an inseparable is unmarked, the following changes are made to all subcomponents:

Parameters:
object {SEL_ITEM} - the object for which the inseparable flag is to be cleared

Return Value:
t - object was unmarked successfully
nil - object could not be unmarked

Example:
(sd-clear-inseparable "/a1")

CLEAR_INSEPARABLE  [terminate action]

(clear_inseparable :inseparable object)
Description:
This is a dialog, i.e. when used from other dialogs, calls must be wrapped in sd-call-cmds. Use this command if you no longer want a part or assembly to be inseparable.

When an inseparable is unmarked, the following changes are made to all subcomponents:

Parameters:
object {SEL_ITEM} - the object for which the inseparable flag is to be cleared

Return Value:
t - object was unmarked successfully
nil - object could not be unmarked

Example:
(clear_inseparable :inseparable "/a1")
[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