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

Change value of Mid-ordinate distance to define curvature

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
1834 Views, 9 Replies

Change value of Mid-ordinate distance to define curvature

Hi,


While moving baselines and regions of one corridor to another one, the value of Mid ordinate distance to define curvature is changed to 0.1 to 0.2.
We don't get that why these values are changing?
Is there any APIs to set these value of 'Mid-Ordinate distance to define curvature'?
We are not having domain expert knowledge about these values and properties.

Please guide us.

Please find attached *.PNG for reference.

 

Thanking you in advance,

Rahul.

 

9 REPLIES 9
Message 2 of 10
josue.aguilar
in reply to: Anonymous

Thank you for visiting the AutoCAD forums, my name is Josue.

 

To assist you properly, please specify:

- Which version of AutoCAD Civil 3D you are using (I.E. 2016, or 2017)

- Which operative system you are using (I.E. Windows 7 Pro 64bits, or MacOS)

 

Best regards!



Josue Aguilar

Technical Support Specialist
Message 3 of 10
Anonymous
in reply to: josue.aguilar

Hi Josue,

 

I am using AutoCAD Civil 3D 2017 on 'Windows 10 Pro 64bits' operating system.

 

-Rahul.

Message 4 of 10
sboon
in reply to: josue.aguilar

Did you set the 0.1 value manually for that baseline or is it a default value?  If you check the corridor feature default settings is the 0.2 value set there?

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

Steve
Expert Elite Alumnus
Message 5 of 10
Anonymous
in reply to: sboon

Hi,

 

It is a default value.
We checked the corridor feature default settings but we are not getting that how to set default value of 'Mid ordinate distance to define curvature' ?
Also suggest me the API that can set this value.
Please guide us. Thanks.

 

Regards,

Rahul

 

Message 6 of 10
cwr-pae
in reply to: Anonymous

first, by what method did you merge the corridors?

 

Second, anytime you add a base line or region the corridor will use these defaults. Hence the change to the default. The corridor assembly insertion defaults are under corridor, commands, create corridor on the settings tab.

Message 7 of 10
Anonymous
in reply to: cwr-pae

 

Hi Charles,

 

Thank you for reply.

 

We got the value of 'Mid ordinate distance to define curvature' under Settings->Corridor->Create Corridor->Assembly Insertion Defaults.

 

I could access "SettingsCmdAssemblyInsertion" using following code,


SettingsCmdCreateCorridor oCorridorSettings = m_activeDoc.Settings.GetSettings<SettingsCmdCreateCorridor>() as SettingsCmdCreateCorridor;
SettingsCmdCreateCorridor.SettingsCmdAssemblyInsertion assemblyInsertionSettings = oCorridorSettings.AssemblyInsertion;

 

But using this assemblyInsertionSettings object I can not set the value of Mid ordinate distance to define curvature.

 

Is there another way to set it using API?

 

Thanks,
Rahul.

 

Message 8 of 10
cwr-pae
in reply to: Anonymous

Typing code/command strings works, but using the dialog tools is generally faster. You can find the commands and groups of commands much faster.

 

Type toolspace <enter> an you get a dialog type window with the panorama, settings and toolbox windows. On the settings tab, browse to corridor and open the tree, and the commands branch. Under the create corridor command are the settings used as defaults when creating corridors.

 

Unfortunately, once the corridor is created you have to change the settings internally to the corridor. Under the panorama tab of toolspace is a heading for corridors, open the tree and right click the name of your corridor and pick corridor properties, in the resulting dialog window on the parameters tab at the top is button for set all frequencies. You can set all frequencies for the entire corridor there.

Message 9 of 10
Anonymous
in reply to: cwr-pae

Can I set the value of Mid ordinate distance to define curvature using API?

-Rahul

Message 10 of 10
cwr-pae
in reply to: Anonymous

I would assume so, but have no idea what command strings would be involved.

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

Post to forums  

Rail Community


Autodesk Design & Make Report