Diesel Posted October 29, 2013 Share Posted October 29, 2013 Autocad LT 2014 Is there a way to auto number the Sheet No in SSM For example: at work we have 45 sheets in 4 different dwgs. Is there a way to have the "x" in "Sheet X of 45" update automatically on each sheet? Thanks Quote Link to comment Share on other sites More sharing options...
Tuns Posted October 29, 2013 Share Posted October 29, 2013 Yeah, it's possible and there are two ways to do it. One is with a macro and another is with blocks (at least I'm 85% sure you can do it with blocks). Which would you prefer? Quote Link to comment Share on other sites More sharing options...
Diesel Posted October 29, 2013 Author Share Posted October 29, 2013 I have the attribute in my title block so I guess blocks. If it's easier with a Macro then that's find too. Thanks Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 29, 2013 Share Posted October 29, 2013 With an attributed block it would seem that inserting a field would be the likely way to go. Quote Link to comment Share on other sites More sharing options...
Tuns Posted October 29, 2013 Share Posted October 29, 2013 ^C^CUSERI1;$M=$(+,$(getvar,USERI1),1);-attedit;y;;number;;\;v;r;$M=$(getvar,USERI1) of 45;;^c This should do what you need. Also, It will only work in 1 drawing. IE: if you use it in drawing A it will go "1" then "2" and so on. Go to drawing B and it will start at 1. This is because USERI1 isn't a system variable. That should be the only disadvantage. To fix that you can set USERI1 to the number you want manually before you use this macro. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 29, 2013 Share Posted October 29, 2013 See if this thread helps. Look at the last response by BlackBox. http://www.cadtutor.net/forum/showthread.php?66560-Looking-for-Variable-to-modify-Drawing-Number-in-sheet-set-manager Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted October 29, 2013 Share Posted October 29, 2013 Is there a way to have the "x" in "Sheet X of 45" update automatically on each sheet? Thanks The sheet number is a built in field in SSM. Just add a field using this reference. Quote Link to comment Share on other sites More sharing options...
Diesel Posted October 29, 2013 Author Share Posted October 29, 2013 Is there a way to add the Ctab name to the sheet list table in SSM Quote Link to comment Share on other sites More sharing options...
Diesel Posted October 29, 2013 Author Share Posted October 29, 2013 ^C^CUSERI1;$M=$(+,$(getvar,USERI1),1);-attedit;y;;number;;\;v;r;$M=$(getvar,USERI1) of 45;;^c This should do what you need. Also, It will only work in 1 drawing. IE: if you use it in drawing A it will go "1" then "2" and so on. Go to drawing B and it will start at 1. This is because USERI1 isn't a system variable. That should be the only disadvantage. To fix that you can set USERI1 to the number you want manually before you use this macro. Itried to add this in the CUI and I couldn't get this to work. Any help would be appricated Thanks Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 30, 2013 Share Posted October 30, 2013 of 45 may not work try "of 45" the spaces means its a command input so screws macro ?? I have taken a different approach using lisp and read the layout names which have sheet number as part of their label, could add a 2nd pass that would look into multiple drawings to work out x of maxnumber and updating. .Net would allow snooping without opening closing dwg. Not much good for LT. 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.