Message 1 of 3
Lineweight extracted with layers comes out wrong

Not applicable
08-05-2020
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I get the lineweight to come out as it is set in inches? this current code is extracting it as something else. New to the lisp world so sorry if this is an obvious question.
Here is the code I am using
(lambda ( x / w )
(if (minusp (setq w (vla-get-lineweight x)))
"DEFAULT"
(rtos (/ w 100.) 2 2)
)
)
Thank you for your help!!