Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: ModelReference & Attachment base class for polymorphism

$
0
0

Unfortunately I do not see an Interface available similar to what you describe. Since an attachment is a specialized case of model reference the only way to treat both types in a similar sense via the COM object model would be to detect the model reference type as being an attachment; then use Attachment.MdlModelRefP passing the model reference to code that performs necessary operations in a similar manner.

HTH,
Bob


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>