Hello All,
I'm using the batch convert process and have already set all elements to "color by level" but now would like to set all levels to a single color (say for instance, red).
I've found and used the Color Mapping Table %unmapped -> %bylevel wildcards.
...is there something silimar for Level Mapping Table to select all levels and change to color red?
Thanks!
Hi,
try in a mvba module
Sub alltored()For Each rr In ActiveModelReference.Levelsrr.ElementColor = 3NextActiveModelReference.Levels.RewriteCadInputQueue.SendCommand "active color=bylevel;choose all;change color;point absolute"End Sub
Sub alltored()
For Each rr In ActiveModelReference.Levels
rr.ElementColor = 3
Next
ActiveModelReference.Levels.Rewrite
CadInputQueue.SendCommand "active color=bylevel;choose all;change color;point absolute"
End Sub
HTH
LaurentD
I would love to use vba but... i'm setting this up for someone else and using the batch convert tool/process is the most end-user friendly when trying to make changes or edits to the process in the future. I do very much like this code though!!
Additional info I just found - the items I'm trying to change were apparently created with TriForma and I get an error message "TriForma has intentionally restricted changes to this element"