Jump to content

Recommended Posts

Posted

Hi guys,

 

I have drawn leaders and now i want to change those leaders arrow head type to "User Arrow" and specify a blockname....

 

can anybody suggest me a code for it

 

Thanks a lot....in advance:)

Posted

Try. :)

 

(defun c:test ( / a b )
   (setq a  (vlax-ename->vla-object (car (entsel "Select Leader"))))
   (setq b (getstring "\nUser Arrow: "))
   (vla-put-ArrowheadBlock a b)
)

Posted

Thanks a lot GP_...... Problem solved :thumbsup:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...