Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I have tried many times the steps mentioned in this post - https://community.ptc.com/t5/Customization/Example-of-CreateSelectionFromString/m-p/84160#M163
But I can't do it. Can you explain it in detail?
Thank you.
From the documentation
SelectionString
The selection string. The string should follow the following formats (items in brackets [] are optional): TopLevelObject:[SubAsm]:[SubAs:LeafComponent]/[ModelItem]
The top level object should provided as: "name.type"
Each component in the path can have one of the following formats:
"name.type"
"name.type(#comp_id)"
"name.type(comp_name)"
The component name is the name of the component feature in the context of its parent assembly.
The model item can have one of the following formats:
"itemtype(#item_id)
"itemtype(item_name)
Itemtype must one of the following:
Feature
Dimension
Please, describe what object do you want to select.