Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, We use selectmore $ or select $ to select the objects.
selectmore $.children only lets us select children of the first level down, but what is the code for selecting all the children, like when we right click and do select child nodes?
I want to select the parent and all the children.
As of now im using :
for obj in objects where matchPattern (obj.name) pattern:((truncatedName + "*")) do
(
selectmore obj
selectmore obj.children
IsolateSelection.EnterIsolateSelectionMode()
)
Solved! Go to Solution.