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

3D Documentation - Group Inquiries

Function Index Top of Page

SD-DOCU-GROUP-P  [function]

(sd-docu-group-p object)
Description:
Predicate to determine whether the passed object is a group

Parameters:
object {SEL_ITEM} - the object to inquire

Return value:
t - object is a group
nil - object is not a group

Function Index Top of Page

SD-INQ-GROUP-TYPE  [function]

(sd-inq-group-type group)
Description:
Returns a keyword containing the type of a group.

Parameters:
group {SEL_ITEM} - the group to inquire

Return value:
type {KEYWORD} - one of the following:
:general - General fixed Group
:exclusive - Exclusive fixed Group
:variable - Variable Group
nil - An error occurred.

Example:
(sd-inq-group-type group)
 => ":general"

Function Index Top of Page

SD-INQ-GROUP-PARENTS  [function]

(sd-inq-group-parents group)
Description:
Returns the parent group(s) of a group

Parameters:
group {SEL_ITEM} - the group to inquire

Return value:
parents-list {LIST of SEL_ITEMS} - A list containing all parent group SEL_ITEMS
nil - Group doesn't have a parent group

Function Index Top of Page

SD-INQ-GROUP-CHILDREN  [function]

(sd-inq-group-children group)
Description:
Returns the children group(s) of a group

Parameters:
group {SEL_ITEM} - the group to inquire

Return value:
children-list {LIST of SEL_ITEMS} - A list containing all children group SEL_ITEMS
nil - Group doesn't have a child group

Function Index Top of Page

SD-INQ-GROUP-PROPS  [function]

(sd-inq-group-props group :values values)
Description:
Returns the group properties

Parameters:
group {SEL_ITEM} - the docuplane to inquire
values - Either

Return value:
property-list {LIST} - A property list containing key/value pairs for the settings
nil - An error occurred.

Note: To extract values from the return list, use getf.

Example:
(sd-inq-group-props group)
=> (:NAME "FixGrp1" 
    :DESCRIPTION "Measurement Group A"
    :TYPE :general)

(getf (sd-inq-group-props docuplane) :NAME)
=> "FixGrp1"
     

Function Index Top of Page

SD-INQ-GROUP-VARIABLE-CONDITION  [function]

(sd-inq-group-variable-condition variable_group)
Description:
Returns the condition and the parameter of a variable group

Parameters:
variable_group {SEL_ITEM} - the group to inquire

Return value
list {LIST of two items} - 1. the condition 2. The parameters:
The return value is one of the following:
(list :nominal_value (:max number :min number))
(list :tolerance (list :MAX_UPP number MIN_UPP number :MAX_LOW number :MIN_LOW number))
(list :fixtext (list :PRE string :POST string :SUPER string SUB string))
(list :text_find (list :pattern string))
(list :all_free)
(list :docuplane docuplane_sel_item)
nil - An error occurred.

Example:
(sd-inq-group-variable-condition docuplane)
 => (:nominal_value (:max 55 :min 33))

Function Index Top of Page

SD-INQ-GROUP-ANNOTATIONS  [function]

(sd-inq-group-annotations group)
Description:
Returns all 3D Annotations to the specified group.

Parameters:
group {SEL_ITEM} - the group to inquire

Return value:
{LIST of 3D Annotation SEL_ITEMS} - 3D Annotations of the group
nil - if the group has no 3D Annotations
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2024 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved