AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Mentor
wang890
Posts: 827
Registered: ‎06-08-2007
Message 1 of 2 (93 Views)

get alignment object from data referenced corridor surface

93 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, Yamakasi Sparta 301 + Dell PH2211
Home: 3930k, 12GB, GTX 590, U3011, QX2710
ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 2 of 2 (78 Views)

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

Need installation help?

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