Change value of Mid-ordinate distance to define curvature

Anonymous

Change value of Mid-ordinate distance to define curvature

Anonymous
Not applicable

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.

 

0 Likes
Reply
1,832 Views
9 Replies
Replies (9)

josue.aguilar
Alumni
Alumni

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
0 Likes

Anonymous
Not applicable

Hi Josue,

 

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

 

-Rahul.

0 Likes

sboon
Mentor
Mentor

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
0 Likes

Anonymous
Not applicable

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

 

0 Likes

cwr-pae
Mentor
Mentor

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.

0 Likes

Anonymous
Not applicable

 

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.

 

0 Likes

cwr-pae
Mentor
Mentor

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.

0 Likes

Anonymous
Not applicable

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

-Rahul

0 Likes

cwr-pae
Mentor
Mentor

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

0 Likes