Windchill Workgroup Manager Direct Functions
SD-UWGM-ELEMENT-LOAD [function]
(sd-uwgm-element-load file-name)
- Description:
- Windchill Workgroup Manager
only:
- Loads an element from Windchill identified by file-name and
returns this element as a sel-item.
-
- Parameters:
-
- file-name {STRING}
- String containing the file name of a model or library part.
-
- Return Value:
-
- loaded-object {SEL_ITEM} - success
- sel-item of the element loaded from Windchill
- nil - failure
-
- Example:
-
(sd-uwgm-element-load "abc.sdpc")
SD-UWGM-ELEMENT-EXISTS [function]
(sd-uwgm-element-exists file-name)
- Description:
- Windchill Workgroup Manager
only:
- Checks the existence of an element in Windchill. The element is
identified by file-name. The function returns the file-name when
the element is in the database.
-
- Parameters:
-
- file-name {STRING}
- String containing the file name of a model or library part.
-
- Return Value:
-
- file-name - element exist in the database, then the file
name is returned
- nil - element does not exist in the database or
failure
-
- Example:
-
(sd-uwgm-element-exists "abc.sdpc")
SD-UWGM-ELEMENT-STORE [function]
(sd-uwgm-element-store element)
- Description:
- Windchill Workgroup Manager
only:
- Store an element to Windchill.
-
- Parameters:
-
- element {SEL-ITEM}
- Element to be stored.
-
- Return Value:
-
- file-name - success
- nil - failure
-
- Example:
-
(sd-uwgm-element-store (sd-inq-curr-part))
© 2023 Parametric
Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved |