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:Ā 

Point Creation Tools / default description acess

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
essam-salah
502 Views, 5 Replies

Point Creation Tools / default description acess

hi 

i want to access the value of "Default Description" (picture attached) programmitically.

any help will be appreciated,

thanks in advance.

5 REPLIES 5
Message 2 of 6
essam-salah
in reply to: essam-salah

i'm using c# and vs2019 and C3D2020

Message 3 of 6
Jeff_M
in reply to: essam-salah
Message 4 of 6
essam-salah
in reply to: Jeff_M

hi @Jeff_M  

thank you so much.

Message 5 of 6
essam-salah
in reply to: Jeff_M

hi @Jeff_M 

i don't know how to use it 

string s = SettingsCmdCreatePoints.SettingsCmdPointsCreation.DefaultDescription.Value;

gives me error

Message 6 of 6
Jeff_M
in reply to: essam-salah

using Autodesk.Civil.ApplicationServices;
using Autodesk.Civil.Settings;


var civdoc = CivilApplication.ActiveDocument; var settings = civdoc.Settings.GetSettings<SettingsCmdCreatePoints>(); var s = settings.PointsCreation.DefaultDescription.Value;
Jeff_M, also a frequent Swamper
EESignature

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

Post to forums  

Rail Community


Ā 

Autodesk Design & Make Report

Ā