Message 1 of 1
Get Absolute Override name, attribute and value via python?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all, I know how to query the AbsoluteOverride but I am having problems with how to get the attribute and value of the said override?
here is what I have so far
layers = rs.getRenderLayers()
for layer in layers:
currentLayer = "Master"
print "renderLayer is ",layer.name()
if layer.name()==currentLayer:
print layer.name(),'layer found'
groups = layer.getGroups()
for thisGroup in groups:
if "Floorplan_Details" in thisGroup.name():
print "Group name is ",thisGroup.name()
thisChild = thisGroup.getChildren()
for child in thisChild:
print child.name()
if "Styling" in child.name():
print 'copy this styling'
thisOR = child.getOverrides()
for override in thisOR:
print '****', override.attributeName()
print 'get the override values here!'
break
break