Anyone know what i can put in my init file to set some default settings for ruler?
I don't want rulers as a savable object, snap target none and not selectable.
I have the follwing in my .cdsinit, but it's not working
leSetObjectSelectable("ruler" nil )leCreateRulerForm->rulerTabs->page1->rulerSavable->value= nilleCreateRulerForm->rulerTabs->page1->rulerSnapTarget->value="None"
When i paste the in my ciw, it does the trick
any ideas? (I'm using IC12)
This came up with another customer recently. The command leSetObjectSelectable("ruler" nil ) only works once the layer palette has been initialised (i.e. a layout is being displayed), and so it does not work in your .cdsinit.
I developed the following workaround which should help you:
This would be global for a session, so you might choose to
activate this on/off with bindkeys (the filter can be removed by:
leUnregUserObjectSelectionFilter() - there is no function to
see if a filter is set or what the filter is, as far as I can tell).
I filed CCR 1107225 for this problem, I suggest that you file a case with Customer Support and reference this CCR, requesting that it is fixed for you also - more requests allow R&D to know it is important for more than one customer, and they can prioritize accordingly.
I hope this helps you!
I missed the other two points, there is a cdsenv environment variable to control each of the other two options:
layout saveRulers boolean nil
layout rulerSnapTarget cyclic "None"
These can also be set through SKILL:
Hopefully this answers your question completely now. These are documented in the IC616 release (and other releases for the saveRulers option, it was documented earlier than the snap target variable).