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

RE: Selection Set

$
0
0

[quote user="Cata M"]The reference file and the active model have the same name[/quote]

You can distinguish between reference files by assigning a logical name to each one.  Each logical name in a set of attachments must be unique.  Then you can do this...

Dim oAttachment As Attachment
Set oAttachment = ActiveModelReference.Attachments.FindByLogicalName ("Cata 01")

[quote user="Cata M"]How can I select all elements on one or more levels in a reference?[/quote]

  • Scan your attachment for elements on required level(s)
  • Add each found element to a selection set

VBA Help

There are examples of scanning in VBA help and in this article.


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

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