VBA Reference clip

Hi,

I'm working on implementing a standards checker using VBA.  My biggest obstacle right now is that I am unable to figure out how to code to verify that a named reference file is being clipped by an element on a specific level.

 

Any ideas?

 

Thanks in advance,

 

Kevin

  • You're treading in one of the darker recesses (i.e. undocumented) corners of MicroStation VBA.

    VBA doesn't really do what you want — the Attachment object has little to no methods or properties that help with clipping boundaries or masks.

    MDL provides the referenceFile struct (a User Defined Type in VBA terminology) that includes more data about clipping. It includes the ElementID of the clipping element.

    Recommendation: prefer MDL if you want to poke around in those darker recesses.

    Season's Greetings, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions