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.
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
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
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
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:
- New sysids are assigned
- Library and database info attributes are deleted.
- Any sharing references to objects outside of the inseparable are
explicitly broken up.
- 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:
- New sysids are assigned
- Library and database info attributes are deleted.
- Any sharing references to objects outside of the inseparable are
explicitly broken up.
- 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")
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:
- New sysids are assigned
- Database info attributes are deleted.
- 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:
- New sysids are assigned
- Database info attributes are deleted.
- 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")
© 2023 Parametric
Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved |