Gratitude1977 Posted October 28, 2010 Posted October 28, 2010 Hi all, I am trying to create buttons that will start the line command (easy enough) what I am having issue with is making the command line to have the button draw a specific line type. Can anyone help with the correct command line I need. Thanks Running AutoCad 2005 Quote
mdbdesign Posted October 28, 2010 Posted October 28, 2010 If you need to draw line on specific layer use: ^C^C-la;set;hidden;;_line Change red layer name to suit Create as many buttons as you need add layers to template and done Quote
Gratitude1977 Posted October 28, 2010 Author Posted October 28, 2010 That worked out perfectly, thanks alot. Also is it possible to actually have the scale of the symbol your inserting with the button to be set for individual drawings? if that even makes sense! lmao! Quote
mdbdesign Posted October 28, 2010 Posted October 28, 2010 You mind insert block with preset scale? Quote
Gratitude1977 Posted October 29, 2010 Author Posted October 29, 2010 That is what I mean sort of, I would like to have the option to insert a block and have it scaled to the specific scale for that drawing. Is this possible? Quote
ReMark Posted October 29, 2010 Posted October 29, 2010 The golden rule of AutoCAD is that all drawing is done in model space at FULL size. There should be no reason to scale a block (up or down) when doing your insertion. If you are drawing "to scale" like one would on a drafting board then stop what you are doing right now. Quote
mdbdesign Posted October 29, 2010 Posted October 29, 2010 The golden rule of AutoCAD is that all drawing is done in model space at FULL size. There should be no reason to scale a block (up or down) when doing your insertion. If you are drawing "to scale" like one would on a drafting board then stop what you are doing right now. This is 100% true. Only my suggestion is : redo all symbol block to size you need to be inserted and don't have to worry next time. If you really insist to change scale of block: investigate -insert command and create macro similar to second post. In Autocad everything is possible.(?) Quote
Gratitude1977 Posted November 1, 2010 Author Posted November 1, 2010 I know this..... but my boss on the other hand.. lol I have to do what he asks and he wants the symbols to be inserted with the option to scale once and then it will be inserted from that point on at that "scale" for the drawing. I do not think this is possible. This is why I ask... Thanks to all for the suggestions. Quote
BIGAL Posted November 8, 2010 Posted November 8, 2010 Do you have standard shapes that come in a variety of sizes ie square 1x1 but want 2x2 scale factor of 2 etc if so then you can store a scale factor in your dwg and use it to scale the block automatically look at userr1-5 (setvar "userr1" myscale) & (setq myscale (getvar "userr1")) the variable is saved in the drawing Insert myblock point S !myscale "" point Quote
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.