Hello, @Don.Cyr .
Short answer: you can specify groups order, but there is no way to specify properties order inside group.
Long answer:
Group order can be specified in group specification like this:
groupDefinitions = {
looping: {title:"Looping", collapsed:true, order:25}
};
Groups will be sorted by "order" property. And there are several predefined group, that you can use:
standardGroupDefinitions =
operation : {title: "Operation", description: "Operation options", collapsed: true, order: -1},
configuration: {title: "Configuration", description: "Configuration options", collapsed: true, order: 10},
preferences : {title: "Preferences", description: "User preferences", collapsed: false, order: 20},
homePositions: {title: "Safe retracts and home positioning", description: "Settings related to safe retracts and home positioning", collapsed: true, order: 30},
multiAxis : {title: "Multi-axis", description: "Multi-axis settings", collapsed: true, order: 40},
formats : {title: "Formats", description: "NC code format settings", collapsed: true, order: 50},
probing : {title: "Probing and inspection", description: "Probing and inspection settings", collapsed: true, order: 60}
};
In the above example "order" is 25, and group will be inserted between "Preferences" and "Safe retracts and home positioning".
Officially, there is no way to sort post properties inside groups. But internal implementation actually sorts them in alphabetical order of their IDs. So, if you want to change order, you can prefix number before property ID like "_0suppressZHome". But don't rely on this behaviour, as it can be broken.
Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network