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: 

AutoWideningCriteriaInfo Class

2 REPLIES 2
Reply
Message 1 of 3
joantopo
291 Views, 2 Replies

AutoWideningCriteriaInfo Class

The AutoWideningCriteriaInfo Class has the property: MinimumRadiusTableName

 

How I can use that property?

 

I have a list with the alignments but I would like a list with the table name for each alignment.

 

 

I have this:

public static CivilDocument m_doc = Autodesk.Civil.ApplicationServices.CivilApplication.ActiveDocument; 

public static ObjectIdCollection oAlignments = m_doc.GetAlignmentIds(); 

 

but tthis property does not allow to the object alignment.

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
2 REPLIES 2
Message 2 of 3
joantopo
in reply to: joantopo

This class only serves for offset alignments or is useful for standard alignments?

Because it saids:[quote]This class encapsulates the properties that are necessary to add an autowidening from a criteria file. It is used by the OffsetAlignmentInfo::AddAutoWidenings() method.[/quote]

 

Why the class Aignment doesn´t have that property (CriteriaInfo) and the subproperties?

 

For Aignments only exists the properties:

UseDesignCriteriaFile (bool var)

CriteriaFileName

 

I want know the minimum radius table name about standard alignment.¿?

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
Message 3 of 3
Partha.Sarkar
in reply to: joantopo

Hi joantopo,

 

Yes, going by the Civil 3D .NET API Reference doc, it says -

It is used by the OffsetAlignmentInfo::AddAutoWidenings() method.

 

I don't see the properties like 'Minimum Radius Table', 'Transition Length Table', 'Attainment Method' etc. which are part of 'Default criteria' are  exposed in current release of Civil 3D. I am logging a wish list to expose these in future release of Civil 3D.

 

Thanks,

Partha Sarkar



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report