Message 1 of 8

Not applicable
02-07-2018
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Surprisingly, I can't seem to find much on this issue. I would like to change some of the properties of the last dimension that was created in my lsp. The default style is not what I need and should not be changed for this drawing. I only need to change some properties of the few dimensions that I create.
If I cannot change the properties, then if it is easier to create an alternate dimstyle in my template and APPLY that to the last dimension drawn, then I am open to that also.
Any ideas on how to code this? I'll add some sample code of what I'm looking for. I'm sure it probably isn't so easy. Any help is appreciated!
~D
;;;;;;;;;;;;;;;;;;;;;;;;;;;;Change last dimension properties;;;;;;;;;;;;;;;;;;;;;;;;;;;; (setq LastDim (entlast)) (setq MyScale 50.00) (command "chprop" LastDim "Dim Units" "Decimal" "Dim scale linear" MyScale "") ;;;;;;;;;;;;;;;;;;;;OR Change last dim DimStyle;;;;;;;;;;;;;;;;;;;;;;;;;;;; (setq LastDim (entlast)) (command "ChStyle" LastDim "MyStyle")
Solved! Go to Solution.