AutoCAD Civil 3D General

Reply
Contributor
Posts: 19
Registered: ‎03-28-2008
Message 1 of 6 (610 Views)

Sub Assembly Composer Expressions

610 Views, 5 Replies
07-08-2011 12:31 PM

Does anyone out there have a good site that would show how to write VB expressions for the Sub Assembly Composer??  I am new to writing expressions and need a little help.

 

 

Thanks,

 

Jay Meszar

Employee
Posts: 707
Registered: ‎08-25-2009
Message 2 of 6 (580 Views)

Re: Sub Assembly Composer Expressions

07-11-2011 06:28 AM in reply to: Jay.Meszar

Jay,

 

There are some great examples in the help file, but if you need more let us know what you are trying to do and we'll see if we can help. I find that for the most part the expressions that I use are pretty simple... P1.X for example to find the x offset of a point.

 

Cheers,

 

Peter Funk

Autodesk, Inc.



Peter Funk
Autodesk, Inc.

Member
makile79
Posts: 4
Registered: ‎02-10-2012
Message 3 of 6 (475 Views)

Re: Sub Assembly Composer Expressions

02-10-2012 01:35 AM in reply to: peterfunkautodesk

can I in SC point  take over slope from other point?

 

point 2 slope = superelevation

point 4 intesection slope  point 2 and 3

point 2 slope 1:2

point 3 slope = superelevation

is there a record for point slope like as P1.x for x axis?

 

I hope I was clear

 

rename test.zip to test.pkt

*Expert Elite*
LeafRiders
Posts: 300
Registered: ‎09-28-2010
Message 4 of 6 (390 Views)

Re: Sub Assembly Composer Expressions

10-24-2012 07:52 AM in reply to: makile79

When I go to Label Style and expressions and go new Expressions, a separate dialogue box appears to create expressions. Is there a command or way to bring up this expressions builder?

 

The best reference material to SAC expressions I've found is at the tail end of Kati Mercier''s classroom handouts for her 2011 AU SAC session.

Mentor
Posts: 248
Registered: ‎10-31-2006
Message 5 of 6 (378 Views)

Re: Sub Assembly Composer Expressions

10-25-2012 07:59 AM in reply to: makile79

You can get a slope value from a link.  Add a link or auxiliary link between the two points that define the slope.  Assume the link is L1 - the expression would be L1.slope.

David Zavislan, P.E. | CAD Manager / Associate | NV5 | www.nv5.com
Employee
Posts: 707
Registered: ‎08-25-2009
Message 6 of 6 (361 Views)

Re: Sub Assembly Composer Expressions

10-26-2012 09:22 AM in reply to: david.zavislan

You can also get the slope between two point P1.SlopeTo("P2") without having to add the link

 

Cheers,

 

Peter Funk

Autodesk, Inc.



Peter Funk
Autodesk, Inc.

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