Jump to content

Recommended Posts

Posted

hello,

 

how can i create a toggle button? i want to toggle between options/drafting/replace z value... on/off , and i want to know when i am on and when i am off.

 

thank you

Posted

look in the lower right - by the command line. I think there should be one there already :)

Posted

i am using autocad map 3d 2009. in the lower right i have the following:

 

model; quick view layouts; quick view drawings; pan;zoom;wheel;showmotion;workspace switching;toolbar position (un)locked;clear screen.

 

on the lower left i have the following:

snap mode; grid display;orthomode;polar tracking;object snap; osnap tracking; dynamic ucs; dynamic input; show/hide lineweight; quick properties.

 

that's it.

 

i am not able to find the toggle button you said, i'm sorry :(. also do you know how to create a new toggle button?

 

thank you for your quick answare .

Posted
i am using autocad map 3d 2009. in the lower right i have the following:

 

model; quick view layouts; quick view drawings; pan;zoom;wheel;showmotion;workspace switching;toolbar position (un)locked;clear screen.

 

on the lower left i have the following:

snap mode; grid display;orthomode;polar tracking;object snap; osnap tracking; dynamic ucs; dynamic input; show/hide lineweight; quick properties.

 

that's it.

 

i am not able to find the toggle button you said, i'm sorry :(. also do you know how to create a new toggle button?

 

thank you for your quick answare .

 

Ok - looks like they took that off in '09 (it was there in '09 )

 

Well, here is the macro I came up with to toggle the OSNAPZ setting:

 

^C^C$M=$(if,$(=,$(getvar,OSNAPZ),1),OSNAPZ 0;,OSNAPZ 1;)^Z

 

just apply this to a new toolbar button :)

Posted
Ok - looks like they took that off in '09 (it was there in '09 )

 

 

...What?

 

As far as replace Z goes, On my 2009 vertical it is on the lower right, however it does not show up in any of the options for the application status bar menu (thats what the tooltip calls it anyway), so if it was somehow removed from the display I have no idea how to return it.

Posted
...What?

 

As far as replace Z goes, On my 2009 vertical it is on the lower right, however it does not show up in any of the options for the application status bar menu (thats what the tooltip calls it anyway), so if it was somehow removed from the display I have no idea how to return it.

 

It was there in LDD '08, but I don't see it in C3D '09...:unsure:

Not sure where i might find it....but my toggle works (or just use that old command line thing!):wink:

Posted
Ok - looks like they took that off in '09 (it was there in '09 )

 

Well, here is the macro I came up with to toggle the OSNAPZ setting:

 

^C^C$M=$(if,$(=,$(getvar,OSNAPZ),1),OSNAPZ 0;,OSNAPZ 1;)^Z

just apply this to a new toolbar button :)

 

 

thanks a lot my friend! is there a little bit of a problem. the button works just fine, but i don.t know when it's on and when it's off. is there something that can be done?

 

thank you for your support

Posted
thanks a lot my friend! is there a little bit of a problem. the button works just fine, but i don.t know when it's on and when it's off. is there something that can be done?

 

thank you for your support

 

It should display in the command line what it changes - just hit the button and watch the command line.

 

Alternatively - you could set MODEMACRO to report the value if you wanted...

Or use a FIELD in an MTEXT object to report the variable setting (I do this for several variables in my standard template file, on a noplot layer...)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...