• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D

    Reply
    Contributor
    Posts: 16
    Registered: ‎03-28-2008

    Sub Assembly Composer Expressions

    399 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

    Please use plain text.
    Employee
    Posts: 627
    Registered: ‎08-25-2009

    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.

    Please use plain text.
    Member
    makile79
    Posts: 4
    Registered: ‎02-10-2012

    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

    Please use plain text.
    Valued Mentor
    LeafRiders
    Posts: 265
    Registered: ‎09-28-2010

    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.

    Please use plain text.
    Mentor
    Posts: 156
    Registered: ‎10-31-2006

    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
    Please use plain text.
    Employee
    Posts: 627
    Registered: ‎08-25-2009

    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.

    Please use plain text.