AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

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

Sub Assembly Composer Expressions

690 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: 718
Registered: ‎08-25-2009
Message 2 of 6 (660 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 (555 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: 322
Registered: ‎09-28-2010
Message 4 of 6 (470 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: 267
Registered: ‎10-31-2006
Message 5 of 6 (458 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: 718
Registered: ‎08-25-2009
Message 6 of 6 (441 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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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