Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

subassembly , vb.net

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
mfernandes
1490 Views, 5 Replies

subassembly , vb.net

Reaching out to this group to see if you can help on a custom subassembly compiled using VB Express2010.

I have C3D2013/64

 

I get the following error

[LGrade2.ConditionalSlope].Net subassembly project, module, or class not found [C:\ProgramData\Autodesk\C3D 2013\enu\Imported Tools\Lgrade\LGrade2.dll!LGrade2.ConditionalSlope]  (Source: Roadway)

 

I checked my project file LGrade2 and I do have a

Public Class ConditionalSlope

 

The help I have gotten so far from another source has been nothing more than stating the obvious.

The other issue and not as critical, is that it seems I can import the subassembly into a new pallet but not into an existing pallet.

 

Thanks in advance for any help or guidance.

5 REPLIES 5
Message 2 of 6

I come accross this issue when there is an issue with the dll, possibly targetted to the incorrect cpu type or blocked by Windows.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 3 of 6
mfernandes
in reply to: mfernandes

Thanks for the info.

Autodesk pointed me to this site

http://wikihelp.autodesk.com/AutoCAD_Civil_3D/enu/2013/Help/API_Developer's_Guide/0152-Creating152/0...

I see that you now have to create a registry file.

 

This must all be new, because when I last worked on custom subassemblies in civil3D2010 all you need to do is create is a pkt file.

 

Do you know if the process of creating and installing a subassembly via Autodesk Subassembly Composer also involves registering the atc file or is this process exclusive to VB.net custom subassemblies?

I would recreate my subassembly using ASC, however, unfortunately ASC does not allow you to create a conditional subassembly.

 

I like your blog site and have included it in my favorites, cheers and Merry Christmas.

 

 

Message 4 of 6

Subassembly Composer creates the registry information behind the scenes, so the user doesn't have to do it. In Civil 3D 2010 one of the files in the pkt file should have been the instructions for Civil 3D to modify the registry. 

 

Conditional subassemblies are totally available in Subassembly Compser. Use the Decision workflow to determine which condition you want to use. If you post to the main discussion group with SAC in the title you'll get some help if you need more info.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 5 of 6

my understanding of SAC is that, although you can have hardcoded conditions, as the intent of allowing non programmers to create subassemblies, it does not have the ability to replicate the conditional cut and fill subassembly that will allow the end user to create a subassembly for different conditions.

http://forums.autodesk.com/t5/AutoCAD-Civil-3D/cut-file-conditional-subassembly/m-p/3693358/highligh...

Message 6 of 6
mfernandes
in reply to: mfernandes

The solution to this was to fix my atc file, thanks to Partha

The change from the previous version of the atc file is as below.

 

change

<DotNetClass Assembly="Lgrade2.dll">Lgrade2.ConditionalSlope</DotNetClass>

to

<DotNetClass Assembly="Lgrade2.dll">Subassembly.ConditionalSlope</DotNetClass>

 

to keep consistent with class name

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report