Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
kakt00z
Posts: 9
Registered: ‎10-08-2012
Message 1 of 4 (176 Views)

automatic numbering

176 Views, 3 Replies
10-08-2012 12:48 AM

Hi everyone!

check out my programm:

if you have 1d or 2d array of texts or blocks (inserts), the programm will "number" them

type "anum" in the command line

*Expert Elite*
pbejse
Posts: 2,460
Registered: ‎11-24-2009
Message 2 of 4 (167 Views)

Re: automatic numbering

10-08-2012 01:40 AM in reply to: kakt00z

Thank you for sharing

 

Cannot effectively test your code 

 

Please check this:

#actdoc  <--- not defined

ss->tbl    <--- missing sub-routine

 

 

Active Member
kakt00z
Posts: 9
Registered: ‎10-08-2012
Message 3 of 4 (160 Views)

Re: automatic numbering

10-08-2012 02:04 AM in reply to: kakt00z

oops :smileyhappy: sorry, just forgot

appended fucntion and varieble to a file

*Expert Elite*
pbejse
Posts: 2,460
Registered: ‎11-24-2009
Message 4 of 4 (157 Views)

Re: automatic numbering

10-08-2012 02:16 AM in reply to: kakt00z

(setq #actdoc (vla-get-activedocument #cad))

(setq #actdoc (vla-get-activedocument (vlax-get-acad-object )))

 

Again thank you for sharing.. nice routine :smileyhappy:

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.