Hi,
I'm trying to automate the pre-filling of the "Set Feature Definition" dialog in VBA and can get it to work if I select the Feature Definition in the Feature Definition toolbar and select the "Use Active Feature" function of the Toolbar.
The issue I'm having is that even if I preset the "Use Active Feature" setting as enabled in the Preference Civil settings or enable it via a keyin, it doesn't actually activate the command (just toggles the button). It seems that it physically needs to be activated by the user.
Has any one found a way to get the "Use Active Feature" command to activate without physically activating the Toolbar button?
Regards,
Mark
this was available in SS4
GEOMETRY ACTIVEFEATUREOVERRIDE -> will toggle the setting
GEOMETRY ACTIVEFEATUREOVERRIDE True -> will set it on
GEOMETRY ACTIVEFEATUREOVERRIDE False -> will turn it off
I believe the KeyIn should be "GEOMETRY ACTIVEFEATUREOVERRIDE True"
We could never get this to work in Ss4 and felt like it was a lost cause there. If this is not exposed as a key-in, it should be.
It is the Civil equivalent of Setting an element template and locking the use element template button.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration