Is there a better way of getting the current command option than from the command option gui?
Is there a celliew/window variable that has the current option and the other command options?
Example of part of the script:
("Stretch" unless(boundp('leStretchForm) hiDisplayForm(leStretchForm)) if(hiIsFormDisplayed(leStretchForm) hiiToggleEnterForm(leStretchForm)) theForm = leStretchForm currOpt = theForm~>keepWiresConnected~>value optList = theForm~>keepWiresConnected~>items unless(dirBool optList = reverse(optList)) optAssoc = buildOptList(optList) nOpt = cadr(assoc(currOpt optAssoc)) theForm~>keepWiresConnected~>value = nOpt printf("Set option %s\n" nOpt) hiChangeBannerLabel(win sprintf(nil "%s\n" nOpt) 0) )
I don't really know what you mean by the "current option and the other command options". What are you actually trying to do?
In reply to Andrew Beckett:
In reply to psill:
There's no such thing as a general list of options for each command. Each command will have encoded necessary options onto the options form, but how that has been done is specific to each command.
In reply to Bonnie Liu:
there are settings in the .cdsenv for Chain Mode, Via Mode and Keep Wires Connected:
layout viaMode cyclic "Single"layout chainMode cyclic "selected"layout keepWiresConnected cyclic "spine"layout keepGuardRingEndsConnected boolean nil
And so on - is this what you are looking for? If so you can look through the following file to try to find any others that you are interested in:
Hopefully this will help you.
In reply to skillUser: