Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

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

automatic numbering

179 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,511
Registered: ‎11-24-2009
Message 2 of 4 (170 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: 10
Registered: ‎10-08-2012
Message 3 of 4 (163 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,511
Registered: ‎11-24-2009
Message 4 of 4 (160 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:

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.