Hi all,
The use case for my problem is that I have one feature instance (e.g. one Linestring in feature class - Roads) that I want to change to another feature class (e.g. Linestring in feature class - Rivers). Some business properties between classes are identical (names, types, etc.) and in process of changing classes identical properties must be preserved (written in the destination class).
The question is what is the general workflow to do that?
Many thanks in advance for any information, advice, discussion, VBA, MDL,...
Kind regards,
Mladen
OCM Ultimate 10.17.01.29
In the XFM schema, you can add a promote method to create a new feature from an existing feature. However the properties from the source feature are not taken to the new feature. In that case, some custom code is required. I will check for an example VBA. I assume the source feature does not have subfeatures.
Thanks Kees,
You're right. In most cases, the source feature does not have a sub-feature.
Not sure if I can promote an existing feature. As far as I remember, promote works only for simple CAD elements... or I'm wrong?
Please check out the VBA examples.
Thanks in advance and kind regards.
--