Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Convert to Multileader

12 REPLIES 12
Reply
Message 1 of 13
Anonymous
530 Views, 12 Replies

Convert to Multileader

Has anyone done anything that allows one to convert a group of text objects and a leader line to the new AC2008 Multileader?
If someone has started something, then I don't need to reinvent the wheel? Otherwise I'll guess I'll try to invent a new wheel.
Thanks.
12 REPLIES 12
Message 2 of 13
Anonymous
in reply to: Anonymous

I resorted to VBA. Here's what I've got so far, if anyone cares....
Message 3 of 13
Anonymous
in reply to: Anonymous

Allen,
I have to plead complete ignorance when it comes to VBA. Any chance you
could convert to VLISP for us, or at least explain how to load this?

Thanks,
Dan
--
Daniel J. Altamura, R.A.
Altamura Architectural Consulting
and SoftWorx, Autodesk Authorized Developer
http://partnerproducts.autodesk.com/popups/company.asp?rdid=2139
-----------------------------------------------------------------------


"Allen Johnson" wrote in message
news:5533546@discussion.autodesk.com...
I resorted to VBA. Here's what I've got so far, if anyone cares....
Message 4 of 13
eloquintet
in reply to: Anonymous

i loaded it but can't seem to run it. what is the macro name?daniel put the file in your search path then type vbaload find the file and load it. then add this to your startup suite so it will load everytime you open. to run it type -vbarun then the macro name which we need to get from allen. you can put this into a button and add to a toolbar
Message 5 of 13
Anonymous
in reply to: Anonymous

I meant ask how to run it. I can load it also, but can't run the macro.

--
Daniel J. Altamura, R.A.
Altamura Architectural Consulting
and SoftWorx, Autodesk Authorized Developer
http://partnerproducts.autodesk.com/popups/company.asp?rdid=2139
-----------------------------------------------------------------------


wrote in message news:5536757@discussion.autodesk.com...
i loaded it but can't seem to run it. what is the macro name?daniel put the
file in your search path then type vbaload find the file and load it. then
add this to your startup suite so it will load everytime you open. to run it
type -vbarun then the macro name which we need to get from allen. you can
put this into a button and add to a toolbar
Message 6 of 13
Anonymous
in reply to: Anonymous

I've been working on it but found some issues. See the autodesk.autocad.customization.vba newgroup topic "Multileader code appears
to create a corrupt drawing"

http://discussion.autodesk.com/thread.jspa?threadID=557485
Message 7 of 13
eloquintet
in reply to: Anonymous

the macro is usually the text after the sub like updateattribute would be the macro in this example

Public Sub Updateattribute()

i see a cml and makemleader but neither work hmmmm
Message 8 of 13
Anonymous
in reply to: Anonymous

CML works, but it expects there to be a previous selection set. Just select
the group containing the leader & text, initiate the Move command, and ESC.
Now try to run CML.


wrote in message news:5536886@discussion.autodesk.com...
the macro is usually the text after the sub like updateattribute would be
the macro in this example

Public Sub Updateattribute()

i see a cml and makemleader but neither work hmmmm
Message 9 of 13
Anonymous
in reply to: Anonymous

Or use the select command to select the objects, then start CML.


"Jeff Mishler" wrote in message news:5536935@discussion.autodesk.com...
CML works, but it expects there to be a previous selection set. Just select
the group containing the leader & text, initiate the Move command, and ESC.
Now try to run CML.


wrote in message news:5536886@discussion.autodesk.com...
the macro is usually the text after the sub like updateattribute would be
the macro in this example

Public Sub Updateattribute()

i see a cml and makemleader but neither work hmmmm
Message 10 of 13
Anonymous
in reply to: Anonymous

This is what I'm using. It assumes that you have group selection on and that you define the "VBAPath" variable as the path to the
dvb file.

(defun C:MM ()
(command "select" "si" pause)
(vl-vbarun (strcat VBAPath "ConvertMleader.dvb!modCML.CML"))
(princ)

)
Message 11 of 13
eloquintet
in reply to: Anonymous

ok i tried all of the methods discussed and it doesn't say macro not found but it does not convert to mleader either?
Message 12 of 13
Anonymous
in reply to: Anonymous

See this link for a more up to date program
Message 13 of 13
Anonymous
in reply to: Anonymous

http://discussion.autodesk.com/thread.jspa?threadID=557485

See this link for a more up to date program.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost