VBA not reading reference file offset correctly

Hi,

I have a frustrating issue where VBA is not reading the reference file offset correctly. I'm working with a bunch of existing drawings and need to know this for inserting some cell's in bulk. Some drawings it works perfectly but not for others. Ive checked scales etc as far as I know they are OK.

Ideas? Screen shots below showing the X offset in the reference file dialog vs the VBA result.

Parents
  • Hi John,

    I have a frustrating issue where VBA

    please read and follow the best practices and share a recommended set of information. You do not provide any information what product and version (exact build number preferably) you use. Also, there is no information what data do you use (are files, active and references, DGN V8, DGN V7 or DWG?).

    Ideas?

    It's hard to say without knowing more information.

    When you have working and not working sets, you should analyze what is different and what is "full chain" of settings, from units + resolution in referenced model (plus how global origin is set etc.), through reference attachment parameters (scale, is georeferenced, type of attachment...), to active model settings (again, units + resolution, GO...).

    My mistake (new here) somebody has kindly moved this.

    When you accidentally create a post in wrong forum, you can move it yourself. Use More > Move tool, available under your original post.

    Regards,

      Jan

Reply
  • Hi John,

    I have a frustrating issue where VBA

    please read and follow the best practices and share a recommended set of information. You do not provide any information what product and version (exact build number preferably) you use. Also, there is no information what data do you use (are files, active and references, DGN V8, DGN V7 or DWG?).

    Ideas?

    It's hard to say without knowing more information.

    When you have working and not working sets, you should analyze what is different and what is "full chain" of settings, from units + resolution in referenced model (plus how global origin is set etc.), through reference attachment parameters (scale, is georeferenced, type of attachment...), to active model settings (again, units + resolution, GO...).

    My mistake (new here) somebody has kindly moved this.

    When you accidentally create a post in wrong forum, you can move it yourself. Use More > Move tool, available under your original post.

    Regards,

      Jan

Children
No Data