Missing references

Missing references

Anonymous
Not applicable
373 Views
1 Reply
Message 1 of 2

Missing references

Anonymous
Not applicable
Spoiler
When I made macro in VBA  Autocad 2012 and I try to run it in Autocad 2011 then it does not work because it is
missing reference.
Is it posibility to find missing library by vba code and throw away from references ?
0 Likes
374 Views
1 Reply
Reply (1)
Message 2 of 2

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

I would create the VBA-macro with the lowest AutoCAD-release and save it in that format.

The result in loading this DVB-file with a higher AutoCAD-version will be that it updates also the references itself (of course the AutoCAD-specific references) .... which I'm not sure it will do when loading a new macro into an old AutoCAD-release.

Loading the references by code may be possible as long as you are working with late-binding. When you have specific declarations defined you have to have the correct references set before starting any item of the code.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes