How to Retrieve Item Descriptions Using the Client API with Python?
A
Anton Ahl
started a topic
1 day ago
Running the code snippet below prints the names of all the parts in the item, but how do I get the item descriptions of all the parts?
import SystemWeaver as sw
import SystemWeaverAPI as swa
...
handle = sw.Common.SWHandleUtility.ToHandle(handle_str)
item = swa.SWConnection.Instance.Broker.GetItem(handle)
parts = item.GetAllParts()
for part in parts:
print(part.Name) # How to get the item plain text descriptions for all parts?
To clarify, the text that would appear in this box in the GUI:
Anton Ahl
Running the code snippet below prints the names of all the parts in the item, but how do I get the item descriptions of all the parts?
To clarify, the text that would appear in this box in the GUI: