We are working on a workflow in OpenRoads Designer where our users get a ribbon on which we have placed predefined points tools.
We want our users to be able to place a specific point according to a specific feature definition with one mouse click instead of having to search in the tree with available points (which is becoming resonably extensive).
We've recordeda macro and updated this to a vba. We've included the vba. All rules in the vba work. When we make changes and run the vba the changes are reflected in the "place point" tool. All except for the "SETVALUE Feature definition" command. No matter what we change here the result is the same: "no feature definition". Even if we run the original macro without changes we get this result.
We suspect this command doesn't work yet? Anyone?
I've included the macro here.
0550.pointtest.mvba
This may not be ideal, but it works...
FeaturePointTestORD.mvba
Thanks Bruce! Not ideal but it works for our purpose.
Hi Bruce,
Any similar methods to do this for Linear Features? It seems that the user needs to physically select the "Use Active Feature" button on the Feature Definition toolbar (the keyin just seems to enable the button, but still not change the dialogs to use "Active Feature")
Regards,
Mark
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
This example was only set up to set the Point dialog to "Use Active Feature". You'll need to modify it to change the dialog you want.