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
562 Views, 5 Replies

Point Creation Tools / default description acess

essam-salah
Collaborator
Collaborator

hi 

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

any help will be appreciated,

thanks in advance.

0 Likes

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

essam-salah
Collaborator
Collaborator

i'm using c# and vs2019 and C3D2020

0 Likes

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

essam-salah
Collaborator
Collaborator

hi @Jeff_M  

thank you so much.

0 Likes

hi @Jeff_M  

thank you so much.

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

essam-salah
Collaborator
Collaborator

hi @Jeff_M 

i don't know how to use it 

string s = SettingsCmdCreatePoints.SettingsCmdPointsCreation.DefaultDescription.Value;

gives me error

0 Likes

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

Jeff_M
Consultant
Consultant
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

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