Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

get alignment object from data referenced corridor surface

1 REPLY 1
Reply
Message 1 of 2
wang890
241 Views, 1 Reply

get alignment object from data referenced corridor surface

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.

Stantec
Dell Precision 5530, Prism M320PU, C3D 14/17/19
1 REPLY 1
Message 2 of 2
Partha.Sarkar
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report