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

    AutoCAD Civil 3D Customization

    Reply
    Mentor
    wang890
    Posts: 758
    Registered: ‎06-08-2007

    get alignment object from data referenced corridor surface

    60 Views, 1 Replies
    10-25-2012 02:11 PM

    is it possible to get the alignment name which the corridor surface is built from when the surface is being data referenced. in other word no corridor as the middleman.

     

    the way i see it is when corridor suface is referenced, it becomes a regular surface and loses some properties such as parent alignment.

     

    i am still using COM. maybe .net can do it? either way works. so just please someone knows the code that would be very helpful. thank you.

    Civil 3D 2012
    Work: Xeon W3503, 12GB, Quadro 2000, Dell 19' x 2
    Home: 3930k, 16GB, GTX 590, Dell U3011
    Please use plain text.
    ADN Support Specialist
    Posts: 206
    Registered: ‎06-09-2009

    Re: get alignment object from data referenced corridor surface

    10-31-2012 07:44 AM in reply to: wang890

    Did you try with IsReferenceObject or IsReferenceSubObject ?

     

    If this doesn't help, could you upload a sample DWG file for me to check if this is possible with current set of APIs.

     

    Thanks,



    Partha Sarkar
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.