Code Red > AutoLISP (Vanilla / Visual)

Insert block and ask for scale

<< < (3/5) > >>

BIGAL:
You said change a dim that was what I answered a block is totally different


--- Code: ---(command "dim" "hor" (list 0 0) (list 10 0) (list 5 5)  ""  "exit")
(setq obj (vlax-ename->vla-object  (entlast)))
(setq arrow (* 2.0 (vla-get-arrowheadsize obj)))
(vla-put-arrowheadsize obj arrow)

--- End code ---

like_citrus:
OK thanks but I'm really lost.
I tried incorporating your code but can't get it to work.
Is my understanding correct: That the block is first inserted and then your code changes it?

BIGAL:
A dimension is not a block, but a block can be made including a dimension, you need to post a dwg so can look at what you actually have.

ronjonp:

--- Quote from: BIGAL on June 14, 2021, 11:33:58 PM ---A dimension is not a block, but a block can be made including a dimension, you need to post a dwg so can look at what you actually have.

--- End quote ---
Are you sure about that ? Name of dim: (2 . "*D###")

like_citrus:
I thought I had attached a dimension file in the original post.
Please see attached.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version