Arrange Substyle components to layers by Python scripting

Hi everybody. Is it possible to arrange substyle components to layers by python and change projection/section colors to “By Layer”?
Usually this operation looks like this:


I’ve created script, which create layer and sublayers with random colors and names accordingly to names of substyle components, but can’t find any method/command in va namespace to going further.
Any help appreciated
VisualARQ Arranging SubComponents.py (1.7 KB)
.

Hi @Ipatkov_Andrey,

Currently, there is no public API to modify the attributes of styles and subcomponents. I’ll add your vote to our wish list, and we’ll let you know when we implement this feature.

Thanks!

Enric

1 Like

Hi @Ipatkov_Andrey ,

I just want to let you know that we have just released VisualARQ 2.13, which includes API methods to get and set attributes of styles and components.

You have all the information about this new version here: VisualARQ 2 - Version 2.13 released

Enjoy!