Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
So I have a mapkey that exports a part to make it to a symbol. A problem I've found is that if csys and datum plane display is on, that will tend to be exported with it. No problem! I add an instruction to turn off the csys display, right? I know I've done this before. I record one and look at the code:
~ Command `ProCmdEnvCsysDisp` 0;\
This should turn off the display of csys. Problem is, if the display is off, this is turning the display on! And this version:
~ Command `ProCmdEnvCsysDisp` 1;\
Does exactly the same thiong. It's toggling, rather than turning on or off. I know in the past I've been struggling to GET it to toggle, rather than turn on or off (and there are old Community threads attesting to others struggling with the same thing), but now suddenly I can't get it to NOT toggle. Has this behavior been changed? How can I get the mapkey to turn off the display of csys if it's on?
I'm on Creo 4 M080, so it's not even a very recent version.
Solved! Go to Solution.
Create a config.pro file to turn off the datum display and use a map key to load the trail file. This will set the display to off. I am not aware of a way to create a map key to logically alter a setting as there is no function to assess the state of a setting to enable a toggle with logic functions. I would suggest creating multiple map keys and nesting them for your file export automation.
The values are either yes or no. If you load a config.pro with these options all of the datum display will be turned off. The config options controlling datum display are as follows.
datum_display no
datum_point_display no
datum_point_tag_display no
axis_display no
display_coordinate_sys no
Create a config.pro file to turn off the datum display and use a map key to load the trail file. This will set the display to off. I am not aware of a way to create a map key to logically alter a setting as there is no function to assess the state of a setting to enable a toggle with logic functions. I would suggest creating multiple map keys and nesting them for your file export automation.
The values are either yes or no. If you load a config.pro with these options all of the datum display will be turned off. The config options controlling datum display are as follows.
datum_display no
datum_point_display no
datum_point_tag_display no
axis_display no
display_coordinate_sys no
Yeah, I went with the options route. Looks like the options don't toggle even when the settings do. I don't like changing the options, though, since I fear that if someone makes an unrelated change to their options and saves the changes, they will save these options and now have csys turned off every time they start.