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: 

VB .NET - possible to delete a survey figure?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
rherx
418 Views, 3 Replies

VB .NET - possible to delete a survey figure?

Good afternoon everyone!

 

I've already asked this question at the swamp but thought I'd ask here as well.  Is it possible to delete a survey figure from the database with VB .NET?  I tried using the .erase method of the SurveyFigure object, but that only appeared to remove it from the drawing and not the database.

 

Thanks in advance for any help or sample code you can provide!

3 REPLIES 3
Message 2 of 4
Civil3DReminders
in reply to: rherx

Haven't tried it, but Remove appears to be the thing you'd want to use:

http://docs.autodesk.com/CIV3D/2012/ENU/API_Reference_Guide/com/AeccXSurveyLib__IAeccSurveyFigures.h...

Message 3 of 4
Jeff_M
in reply to: rherx

Yes, the Remove method is used. There are other methods and properties used to get the selected figure from the database. See my response on theswamp http://www.theswamp.org/index.php?topic=47459.15
Jeff_M, also a frequent Swamper
EESignature
Message 4 of 4
rherx
in reply to: Jeff_M

Thanks a bunch Jeff!

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

Post to forums  

Rail Community


Autodesk Design & Make Report