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

Windchill Workgroup Manager Direct Functions

Function Index Top of Page

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")
  

Function Index Top of Page

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")
  

Function Index Top of Page

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))
  

Function Index Top of Page

SD-UWGM-INQ-OBJ-PARTIALLY-LOADED-P  [function]

(sd-uwgm-inq-obj-partially-loaded-p  object)
Description:
Windchill Workgroup Manager only:
Returns t If the object originally has been partially loaded from Windchill.

Parameters:
object {SEL_ITEM} - The object to inquire

Return Value:
t - The object has been partially loaded.
nil - The object has not been partially loaded.

Example:
(sd-uwgm-inq-obj-partially-loaded-p (sd-inq-curr-part))
  
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2023 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved