AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Contributor
25 Posts
0 Kudos
Registered: ‎03-28-2008
Post 1 of 6

Sub Assembly Composer Expressions

809 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
720 Posts
88 Kudos
Registered: ‎08-25-2009
Post 2 of 6

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
4 Posts
0 Kudos
Registered: ‎02-10-2012
Post 3 of 6

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*
350 Posts
28 Kudos
Registered: ‎09-28-2010
Post 4 of 6

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
285 Posts
82 Kudos
Registered: ‎10-31-2006
Post 5 of 6

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
720 Posts
88 Kudos
Registered: ‎08-25-2009
Post 6 of 6

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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!