AutoCAD Civil 3D Customization

Reply
Distinguished Contributor
ruipfbarreiros
Posts: 135
Registered: ‎09-19-2011
Message 1 of 3 (286 Views)
Accepted Solution

Custom functions in label expressions

286 Views, 2 Replies
07-04-2012 07:00 AM

Hi,

 

To take civil 3D to the next level, is it possible to define a function in VBA and then use it in the label styles expressions?

---------------------------------------

Using Building Design Suite Ultimate 2014
Valued Mentor
Posts: 584
Registered: ‎10-01-2006
Message 2 of 3 (282 Views)

Re: Custom functions in label expressions

07-04-2012 01:45 PM in reply to: ruipfbarreiros

One of the first things I asked about five years ago and I was told no and have not seem any developments in that area.

 

You may want to look into dynamic linking like the sincpac guys use and Chris from Civil3dreminders did for his crossing pipe labels. Heres a link to Kean Walmsley blog series about how to set them up

http://through-the-interface.typepad.com/through_the_interface/2006/11/linking_circles.html

You will have to look at moving from VBA to VB.net. I wrote a bit about it here http://c3dxtreme.blogspot.co.nz/2011/02/visual-basic-vb-for-civil3d.html

but the Autodesk site now has some good webcasts and papers on making your first plug in.

 

 

 

 

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/
Distinguished Contributor
ruipfbarreiros
Posts: 135
Registered: ‎09-19-2011
Message 3 of 3 (275 Views)

Re: Custom functions in label expressions

07-05-2012 01:18 AM in reply to: ralstogj

Thank you for your suggestions! It is really a pity that this can't be done...

---------------------------------------

Using Building Design Suite Ultimate 2014

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

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