Hi All,
I want to Merge a reference file into the Default Model and I tried the sample code already available in the link given below. But in case of dimension, the output was produced in a different scale. Please refer the attached screenshot.
https://communities.bentley.com/products/programming/microstation_programming/f/343173/p/89072/252943.aspx
I don't see a question in your post. Presumably you want to scale objects from the reference attachment in some way. Have you looked at the properties of the Attachment object?
Attachment.GetMasterToReferenceTransform will help. Get a Transform from one coordinate system to the other, then apply that transform to elements as you copy them from the attachment to the active model.
Regards, Jon Summers LA Solutions
Thanks Jon. Now it works fine.