Spinxy
4th Aug 2011, 07:15 am
Hey,
I'm trying to make some scripts that will automatically find certain elements from a qselect and change their layers and properties.
i'm trying ssx command which finds the elements but don't keep them selected, i'm also struggling with a command to change the layers, and set colour, linetype and lineweight to bylayer
i have lots of these to make which will all be pretty similar to automate track design outputs into our cad standard format.
i want to find everything on layer T-PROF-GRID and change to G_misc25, color to BYLAYER, Lintype to BYLAYER, Lineweight to BYLAYER.
also i want to find every polyline on T-PROF-TEXT and change to G_misc, color to BYLAYER, Lintype to BYLAYER, Lineweight to BYLAYER.
if i have help creating these i'm pretty sure i would figure out how to do the rest!
I'm trying to make some scripts that will automatically find certain elements from a qselect and change their layers and properties.
i'm trying ssx command which finds the elements but don't keep them selected, i'm also struggling with a command to change the layers, and set colour, linetype and lineweight to bylayer
i have lots of these to make which will all be pretty similar to automate track design outputs into our cad standard format.
i want to find everything on layer T-PROF-GRID and change to G_misc25, color to BYLAYER, Lintype to BYLAYER, Lineweight to BYLAYER.
also i want to find every polyline on T-PROF-TEXT and change to G_misc, color to BYLAYER, Lintype to BYLAYER, Lineweight to BYLAYER.
if i have help creating these i'm pretty sure i would figure out how to do the rest!