For some reason, my paramters in the part editor are only listing alphabeticaly even though I'm using %%PartEditorRules.
<%%OpenCategories ("Wall Dimensions, Door"), _
%%Icon ("swall.ico"), _
%%categoryOrder ("Wall Dimensions, Door, Display"),_
%%PartEditorRules ("{wallLength, wallHeight, wallLength, wallThck, testNum, door1?, door1Type, fromSide1?, doorOffset1, door2?, door2Type, fromSide2, doorOffset2, showConstraints?}")> _
Design sideWallAssy : ConcreteShelterRoot ADOTest IvAssemblyDocument
screen of prameters
Any one else seeing this problem? Is there something I missing?
And yes, this is 5.0.96
<%%OpenCategories ("Wall Dimensions, Door"), _
%%Icon ("swall.ico"), _
%%categoryOrder ("Wall Dimensions, Door, Display"),_
%%PartEditorRules ("{wallLength, wallHeight, wallThck, testNum, door1?, door1Type, fromSide1?, doorOffset1, door2?, door2Type, fromSide2, doorOffset2, showConstraints?}")> _
Design sideWallAssy : ConcreteShelterRoot ADOTest IvAssemblyDocument
I had wallLength twice. Still does not work.
Try the %%PartEditorRules without the braces, I believe it's assumed to be a list already:
%%PartEditorRules ("wallLength, wallHeight, wallLength, wallThck, testNum, door1?, door1Type, fromSide1?, doorOffset1, door2?, door2Type, fromSide2, doorOffset2, showConstraints?")
Tried that with the same result
FYI, the example on the wiki shows the bracket
Sorry, my bad. I was going from memory, which apparently isn't as good as it used to be :P. I see you submitted this to ADN as well, let me see what I can figure out.
Result from ADN
>> >> >>
I pasted this into a design and can reproduce the problem. If I remove the DisplayName annotation from each of the rules, the sort order is applied. For the sake of thoroughness I tried using the display names in the %%PartEditorRules annotation, but that fails.
Logged a Change Request (INT-1467). The workaround is to remove display name annotations on the rules if the sort is required, or craft the display names so that they sort alphabetically (probably preferred).
<< << <<
Can't find what you're looking for? Ask the community or share your knowledge.