Sub-Feature as a Push Button Property, need 2nd dialog to open

I would like to create an additional dialog displaying sub-features in my schema. 

The idea is to press a push button for the additional dialog to open. 

The schema does offer the ability under OPERATIONS to create a push button, but what about the METHODS.  How will the METHODS know about the sub-feature?

Are there anybody that can assist me in creating this?

Thank you!

  • Hi Max,

    I see the Bentley Map V8i XFM Programmers Reference Guide in my Map installation in the Windows start menu:

    In the geo_example River_Collection example that I mentioned, if you place a River feature instance with "Away" mode annotation, you can then use the "Edit Feature Properties" tool in the "Command Manager" dialog to pick the bubble cell to edit the Away bubble number (which edits the BubbleNum property in RiverText sub-feature).  If you pick the linear geometry in the River feature instance with the "Edit Feature Properties" tool, then you would edit the root feature properties of the feature instance.

    Regards,

    Chris


    This is a test

  • Hi, Chris!

    I did look at geo-example xfm, but when you even run this example it does not notice the sub-feature properties. So I really don't understand how the schema allows us the ability to create a sub-feature with properties but unable to display these properties in a cad environment.

    Kindly provide me with more details on where I will find Bentley Map V8i XFM Programmers Reference GUide?
  • A couple of alternatives to consider if you haven't already....

    The Analyze Feature Tool has a load type of allXml which you can enable to show a full feature instance in the Analyze results window. In the Bentley Map V8i XFM Programmers Reference Guide, look at Index item "Analyze Feature Tool" for details on setting the loadType parameter to allXml.

    Do the sub-features have graphic elements that you could locate in the view? If so, you might consider doing something like the River_Collection feature definition from geo_example XFM schema delivered with Map. The River_Collection has methods defined to allow selection of either the River_CollectionTextBubble1 or River_CollectionTextBubble2 sub-features to edit the BubbleNum property from the RiverText sub-feature.

    Will either of these work for you?

    Regards,
    Chris


    This is a test