I am working on a dynamo routine to convert a survey drawing to our standards. I got the layer translation all set but i still need to do more cleanup like make all the objects to be by layer and set all the text to be an specific style. Is there a way to run a command within dynamo, a script (.scr) or a lisp?
You can use Python to open a file. I am not at work at the moment, but if you can’t find anything (tomorrow)i could write you something.
Thank you Daan i appreciate it. I just don’t see were to start because i am not familiar at all with python.
This is an example you can use to set all the Text and MText to the same style
SetAllObjectsColorByLayerAndSetAllTextsStyle.dyn (6.0 KB)
path = r’C:\Program Files (x86)\IronPython 2.7\Lib’
from os import startfile
OUT = playSomething(IN)
I hope you can use this script, this will be able to run almost anything.
Thank you Paolo, the script works very well.
Thank you Dann, i will give it a shot.