caravaggio Posted September 28, 2009 Posted September 28, 2009 I would like to ask about the "offset" command, there are options of "erase source" "Layer". I wonder if there is any system variables which store those settings. For I would like to make an AutoLisp command which toggles on/off of "erase source" or even to specify offset layer. Thank you Quote
caravaggio Posted September 28, 2009 Author Posted September 28, 2009 Thank you for the suggestion, but what I am looking for is the system variables (or something else) to control these. For example "trimmode" is to control the "trim" command, so that I can make an Autolisp command to toggle "trimmode" between 1 and 0. Quote
Lee Mac Posted September 28, 2009 Posted September 28, 2009 Good question, the only sys Vars that come to mind with the OFFSET command are: OFFSETDIST & OFFSETGAPTYPE But I shall do a bit of digging for you Quote
haustab Posted September 28, 2009 Posted September 28, 2009 Express-Tools Exoffset.lsp … (setq dist (acet-exOffset-get-dist) lay (xstrcase (acet-exOffset-get-layermode)) gap (getvar "offsetgaptype") acet-setvar…. Quote
caravaggio Posted September 28, 2009 Author Posted September 28, 2009 Express-ToolsExoffset.lsp … (setq dist (acet-exOffset-get-dist) lay (xstrcase (acet-exOffset-get-layermode)) gap (getvar "offsetgaptype") acet-setvar…. Thanks for the advise....wonder if I can do this in Lisp (instead of VLisp) for I am not familiar with VLips !! Quote
Lee Mac Posted September 28, 2009 Posted September 28, 2009 Hausta refers to the Express Tools ExOffset.lsp which can be found in the Express tools folder - this saves the modes in the drawing using such functions as: (acet-exOffset-get-layermode) Which are defined in the above .lsp file. These functions in turn use: (acet-setvar) To store the relevant settings. These are Express Tools functions, not VLISP 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.