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: 

Setting min and max of section view

3 REPLIES 3
Reply
Message 1 of 4
ebo134
337 Views, 3 Replies

Setting min and max of section view

Hi everyone,

please, please , anyone know how to set (not to get) maximum or minimum elevation of a grid of specific section view in COM API c++?

or Just tell me the name of the function in COM API c++?

 

 

thanks

Tags (1)
3 REPLIES 3
Message 2 of 4
MarkPendergraft
in reply to: ebo134
Message 3 of 4
ebo134
in reply to: ebo134

Sorry, Mark I think you do not get the qestion:

 

I saied: How to set not to get,the page you had refered to it there is no function even to set any value rather than min and max elevation of section view

Message 4 of 4
MarkPendergraft
in reply to: ebo134

Precisely.  Those are the COM properties and methods available for the IAeccSectionView interface.  The fact that the ElevationMax and ElevationMin property both say "Gets the max/min elevation value for the section view" should tell you that it's a public read only property and that the ability to set the ElevationMax or ElevationMin doesn't exist in the COM API currently.

 

I'm no programming expert by any means, but if you absolutely need this functionality, you might look into this article:

http://www.quuxsoft.com/Programming/PInvoke.aspx

 

It talks about accessing properties and methods not available through the API.

 

-Mark

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

Post to forums  

Rail Community


Autodesk Design & Make Report