Author Topic: Custom Subassemblies from C3D 2009 in C3D 2010  (Read 3531 times)

0 Members and 1 Guest are viewing this topic.

bdough15

  • Guest
Custom Subassemblies from C3D 2009 in C3D 2010
« on: September 18, 2009, 05:36:48 PM »
I have a number of custom subassembilies that I created and successfully installed in C3D 2009. I have tried to use the same .pkt files to import these subassemblies into 2010 with no success. On my home computer (learning version) the custom subassemblies import ok, but when I try insert them into an assembly I just get the circles and the error "Subassembly project, module or class not found". On my machine at work, when I try to import the .pkt file, AutoCad crashes everytime.

Any ideas on what has changed to make the subassemblies not work?

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #1 on: September 18, 2009, 05:43:01 PM »
Doc,

I have found these two(2) documents; I haven't tested them.

Did you attempt to use the process outlined in this document <ignore version ref>?
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=5590339&linkID=9240697
Does this process also not work?

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=9091860&linkID=9240697
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #2 on: September 18, 2009, 05:50:27 PM »
Although in this document :http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=5590339&linkID=9240697

We are cautioned as follows:
Quote
Note: It is strongly recommended that you delete the subassemblies and recreate the assemblies in your drawings using the new subassemblies provided by Autodesk Civil 3D 2006, as enhancements have been made to how these new subassemblies process slope and grade values.


So it might seem that autodesk has STILL left this issue unaddressed, adding to the loss of productivity associated with upgrading.
Nice job there guys!

Propably NOT the answer you were looking for.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

sinc

  • Guest
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #3 on: September 20, 2009, 11:23:39 AM »
I have some custom subassemblies that I cannot get to compile in 2010.  Since we're actually using 2009 in production, I haven't poked around in them yet to try and figure out why they no longer compile.  But Autodesk changed something between 2009 and 2010 which appears to affect .NET subassemblies, and my code that works in C3D 2008 and C3D 2009 will not compile for C3D 2010.

I'm not sure if this is related to what you are seeing or not, since I haven't yet taken the time to track down this particular problem.

Dinosaur

  • Guest
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #4 on: September 20, 2009, 12:03:47 PM »
Early on, the VBA codes within the assemblies seemed to cause a lot of the upward compatibility issues.  Have they changed how the assemblies are coded now or might this still be part of the problem?

sinc

  • Guest
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #5 on: September 21, 2009, 08:15:43 AM »
"VBA codes"...?

Dinosaur

  • Guest
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #6 on: September 21, 2009, 08:23:50 AM »
Weren't those assemblies written in VBA?  It seemed like something changed in the coding for them so they were not compatible with the new release - I'm talking about '05 thru '07 in particular.  I know I had to recreate the assembly in the new format for it to not crash the drawing on start up back then.

sinc

  • Guest
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #7 on: September 21, 2009, 10:00:24 AM »
They switched to .NET subassemblies in 2008.  So all of the old VBA subassemblies were converted to (some rather nasty) VB.NET code.  At least for a while, they were shipping both the VBA and .NET versions (although I'm not sure if 2010 still has the VBA versions).

2010 seems to have introduced a change to the API.  My custom .NET subassemblies that compiled just fine in both C3D 2008 and C3D 2009 do not compile in C3D 2010, and I haven't yet taken the time to figure out why.  I think it might have something to do with the way they started adding more C3D access to the managed API in 2010 - they changed something in the process.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Subassemblies from C3D 2009 in C3D 2010
« Reply #8 on: September 21, 2009, 10:31:16 AM »
I'm fair certain these assemblies, were created in 2008/2009 versions.
Be your Best


Michael Farrell
http://primeservicesglobal.com/