AutoCAD Civil 3D Customization

Reply
*Expert Elite*
mikeevans
Posts: 752
Registered: ‎09-29-2008
Message 1 of 6 (1,050 Views)

Vba subassembly issue 2011.

1050 Views, 5 Replies
06-01-2010 03:52 AM
When I import a OTB VBA subassembly the following is displayed within the event viewer and the subassembly is unusable.

Warning 01 June 2010 11:42:38 Carriageway mike.evans []Subassembly Macro ! Not Found (Source: Carriageway)
Warning 01 June 2010 11:42:43 Carriageway mike.evans []Subassembly Macro ! Not Found (Source: Carriageway)
Warning 01 June 2010 11:42:47 Carriageway mike.evans []Subassembly Macro ! Not Found (Source: Carriageway)
Warning 01 June 2010 11:42:50 Carriageway mike.evans Macro is unusable as VBA is not installed [!] (Source: Carriageway)
Warning 01 June 2010 11:42:50 Carriageway mike.evans []Subassembly Macro ! Not Found (Source: Carriageway)
Warning 01 June 2010 11:42:52 Carriageway mike.evans []VBA macro file not found [!] (Source: Carriageway)
Warning 01 June 2010 11:42:54 Carriageway mike.evans []Subassembly Macro ! Not Found (Source: Carriageway)

I think that the one which is of concern here is the Macro is unusable as VBA is not installed, I have VBA installed and when you insert the subassembly it cannot find the macro as it would have in R2010.

(Instant answer is use .net subassemblies but that fine for the OTB ones not my customised ones from R2010).

Has the method for specifying the macro paths changed but not been updated in the VBA versions of the subassembly atc files.
Mike Evans

Civil3D 2013 / 2014 British UK
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Distinguished Contributor
dnl999
Posts: 124
Registered: ‎10-21-2008
Message 2 of 6 (1,038 Views)

Re: Vba subassembly issue 2011.

06-07-2010 07:59 AM in reply to: mikeevans

we are having the same problem with the custom vba subassemblies created in the previous version (2010).

When we try to insert the custom subassembly with the atc file we get the following message:

 

"One or more subassembly macros could not be found. Check Event Viewer for more information.  Continue?"

 

One strange thing I noticed is that the Macro Name and the Macro Project are empty in the palette.  Obviously it is failing to find the Macro path and name.

 

There seems to be some change in the way the atc file is formatted in 2011 version and I would appreciate very much if someone or Autodesk can post a solution to this problem.  Maybe a sample atc file for the custom subassembly which works with 2011 ?

 

TIA.

Distinguished Contributor
dnl999
Posts: 124
Registered: ‎10-21-2008
Message 3 of 6 (1,026 Views)

Re: Vba subassembly issue 2011.

06-07-2010 01:03 PM in reply to: mikeevans

Mike, have you finally found the solution to this problem ?

I have been struggling for the past few days without much success.

I think it has to do with not automaticaly copying the macro name and project path into the palette.

FYI, in my case If I manually copy those two strings it seems to work so it must be something to do with the atc file which populates the macro name and project path.

 

TIA.

 

Andrew,

*Expert Elite*
mikeevans
Posts: 752
Registered: ‎09-29-2008
Message 4 of 6 (1,003 Views)

Re: Vba subassembly issue 2011.

06-10-2010 06:58 AM in reply to: dnl999

Nope, I have tried a few things but none have worked.

 

This is not just macros from 2010 any ATC file with VBA macro referances displays this error but they do load the macro file?

 

Time for a FixMePlease Request?

Mike Evans

Civil3D 2013 / 2014 British UK
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Employee
nzeeben
Posts: 90
Registered: ‎09-22-2008
Message 5 of 6 (973 Views)

Re: Vba subassembly issue 2011.

06-17-2010 05:15 AM in reply to: mikeevans

Mike,

 

We didnt make any changes to the ATC format for 2011. 

 

If you want to send me an ATC and DVB I can take a look.

*Expert Elite*
mikeevans
Posts: 752
Registered: ‎09-29-2008
Message 6 of 6 (959 Views)

Re: Vba subassembly issue 2011.

06-18-2010 06:40 AM in reply to: mikeevans

FYI: and all others.

 

After sending my files Nick has submitted a defect report.

 

Let you know any more as & when I do.

 

Mike Evans

Civil3D 2013 / 2014 British UK
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs