Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Datum switch

jstiles

New member
Hi,


I'm trying to work out how to make sure datums are turned off when running a print to PDF mapkey. I created the mapkey below but the switch for the datums seems to ignore the setting (0 or 1) and just toggles the datums on/off. To me the "0" in the highlighted portion should turn the planes off but like I said, it just toggles them to the opposite state (on >> off or off >>on).


Thanks for any help.


mapkey pdf ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdEnvDtmDisp.ddisp`0 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdEnvAxisDisp.ddisp`0 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdEnvPntsDisp.ddisp`0 ;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdEnvCsysDisp.ddisp`0;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;~ Activate `main_dlg_cur` `File.psh_print`;\
mapkey(continued) ~ Select `print` `CascadeButton1`;~ Close `print` `CascadeButton1`;\
mapkey(continued) ~ Activate `print` `pdf`;~ Activate `print` `OK`;\
mapkey(continued) ~ Activate `Print_file` `OK`;
 

Sponsor

Articles From 3DCAD World

Back
Top