Lee Roy Posted August 24, 2011 Share Posted August 24, 2011 I'm looking for the VLA-PUT-command to set an mleader style to current. I know it's possible with command-line, but I would rather use vla, seeing as the rest of the mleader creation is using vlax-put-property. Thanks, Lee Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 24, 2011 Share Posted August 24, 2011 (setvar 'CMLEADERSTYLE <YourStyleHere>) Or, if you really (and unnecessarily) wanted to use VL: (vla-setvariable (vla-get-activedocument (vlax-get-acad-object)) "CMLEADERSTYLE" (vlax-make-variant "YourStyleHere" vlax-vbstring) ) Quote Link to comment Share on other sites More sharing options...
Lee Roy Posted August 24, 2011 Author Share Posted August 24, 2011 Thanks Lee. I dunno why I didn't think of the SetVar, it serves my purpose perfectly. Thanks! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 24, 2011 Share Posted August 24, 2011 You're welcome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.