AutoCAD Civil 3D Customization

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

get alignment object from data referenced corridor surface

75 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
Posts: 535
Registered: ‎06-09-2009
Message 2 of 2 (60 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs