Named User Linestyles


Joe_Carrick
 Share

Recommended Posts

When (which version) did CA add the ability to name our user defined "line styles" and retrieve the name from the Ruby attributes?

I remember years ago that the user defined "line styles" were only given a number and there wasn't any way to get the actual name.  I know I had mentioned it to someone at CA (Jason I think) but I had no clue that the real names were now available.

 

Whoever did it and whenever they did it -- Mucho Gracias.

  • Upvote 1
Link to comment
Share on other sites

In version X10 Chief was exporting name, value pairs. Since X11, Ruby integration significantly improved. Now Ruby engine has access to objects

So we have 

drawing_group: 21

floor_number

layer : cad,_plan_view

layer_line_color : 255 

layer_line_style : 111 

layer_line_weight : 18 

layer_set : "Plan View Set" 

layer_text_style : "Default Text Style" 

line_style : setback_line

line_weight : 18

object_type : cad_line 

 

Still a little different from the app, and not all properties are available...

ObjectLine.thumb.PNG.92b8f195939d22a0f1b46a8a52a15804.PNG

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share