I'm trying to get ResNames of a RefModel (as a list), the codes below let me get the resolution instance , but I don't know how to go further , or maybe I'm wrong from the beginning .
Now I don't have any clue . Please help me out if you know the trick . Big ThX
Code: Select all
App = Application
Sel = App.Selection
#Currnt Selection is a refmodel
o_Nested = Sel(0).NestedObjects
Log(o_Nested.GetAsText())
for i in o_Nested:
if i.Type == "resolutions":
#Log(str(i) + " " + i.Type)
Log(i)