AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Contributor
Jay.Meszar
Posts: 25
Registered: ‎03-28-2008
Message 1 of 6 (700 Views)

Sub Assembly Composer Expressions

700 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
peterfunkautodesk
Posts: 719
Registered: ‎08-25-2009
Message 2 of 6 (670 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 (565 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: 329
Registered: ‎09-28-2010
Message 4 of 6 (480 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.

Valued Mentor
david.zavislan
Posts: 268
Registered: ‎10-31-2006
Message 5 of 6 (468 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. | Wood Rodgers, Inc.
Employee
peterfunkautodesk
Posts: 719
Registered: ‎08-25-2009
Message 6 of 6 (451 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.

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.