Custom placement methods

Is there a way to add additional placement methods to a feature that would automatically set the values of certain attributes?

I'm trying to simplify our data entry where I can. A simple example: The normal place command typically shows a form and then allow the user to draw the feature. Could I pre-define a 'palette' of commands for my users that would place, for example, a 2" PVC pipe or a 12" galvanized pipe without the user ever encountering a form dialog?

If this would need to be done through the XFM API, could anyone point me to an example of how to draw and attribute a brand new feature?

Thanks

  • Yes, you can set the initial values. These can be set by a vba routine that runs and then calls the standard placement method of your feature. In the VBA code you would set a configuration/environment variable and then in the feature property definition, you tell the initial values to use this configuration/environment variable. The vba code then issues the keyin to start the standard placement operation for the feature.

    Jerry