Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating macro for blocks in Autocad Lt 2019

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
486 Views, 3 Replies

Creating macro for blocks in Autocad Lt 2019

Anonymous
Not applicable

Hi all,

 

I was just wondering if there is an alternative set of macros that could be used in Autocad Lt 2019 that would allow me to number and create blocks?

 

I was using the following macros on previous versions of Autocad Lt:

^C^C_setenv;index1;\_setvar;userr1;\ - to set the numbering

*^C^C_-insert;"UXO Surveys";\1;;$M=$(getvar,USERR1);setvar;USERR1;$M=$(+,$(getvar,USERR1),1); - to create a block (with a circle that has a 4m diameter)

 

I have tried adding in these macros to 2019 verision and the numbering one works fine but the macro that creates the blocks does not. Is there an alternative macro that I could use?

I use 4 meter diameter circles all day to mark up drawings and would be grateful if anyone could help. From what I understand it's just that this macro is not compatible anymore.

 

Any ideas/solutions would be greatly appreciated.

 

Thanks,

C

 

 

0 Likes

Creating macro for blocks in Autocad Lt 2019

Hi all,

 

I was just wondering if there is an alternative set of macros that could be used in Autocad Lt 2019 that would allow me to number and create blocks?

 

I was using the following macros on previous versions of Autocad Lt:

^C^C_setenv;index1;\_setvar;userr1;\ - to set the numbering

*^C^C_-insert;"UXO Surveys";\1;;$M=$(getvar,USERR1);setvar;USERR1;$M=$(+,$(getvar,USERR1),1); - to create a block (with a circle that has a 4m diameter)

 

I have tried adding in these macros to 2019 verision and the numbering one works fine but the macro that creates the blocks does not. Is there an alternative macro that I could use?

I use 4 meter diameter circles all day to mark up drawings and would be grateful if anyone could help. From what I understand it's just that this macro is not compatible anymore.

 

Any ideas/solutions would be greatly appreciated.

 

Thanks,

C

 

 

3 REPLIES 3
Message 2 of 4
pendean
in reply to: Anonymous

pendean
Community Legend
Community Legend
What part of the macro doesn't work exactly? Find out, CTRL+F2 and scroll up, read through it.


0 Likes

What part of the macro doesn't work exactly? Find out, CTRL+F2 and scroll up, read through it.


Message 3 of 4
steven-g
in reply to: Anonymous

steven-g
Mentor
Mentor

Hi Claire,

I'm not sure if anything changed but try this macro

*^C^C_-insert;"UXO Surveys";\1;;;$M=$(getvar,USERR1);setvar;USERR1;$M=$(+,$(getvar,USERR1),1)

It's not a big difference, just an extra ";" when you are inserting the block , this should work. Otherwise a copy of your command history when you try the macro's might show up the problem.

0 Likes

Hi Claire,

I'm not sure if anything changed but try this macro

*^C^C_-insert;"UXO Surveys";\1;;;$M=$(getvar,USERR1);setvar;USERR1;$M=$(+,$(getvar,USERR1),1)

It's not a big difference, just an extra ";" when you are inserting the block , this should work. Otherwise a copy of your command history when you try the macro's might show up the problem.

Message 4 of 4
Anonymous
in reply to: steven-g

Anonymous
Not applicable

Thank you for your help :).

 

I somehow managed to rectify the issue - not sure what the problem was but it's all resolved.

 

Thanks,

C                  

0 Likes

Thank you for your help :).

 

I somehow managed to rectify the issue - not sure what the problem was but it's all resolved.

 

Thanks,

C                  

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report