- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to read the Value of ConstraintLimits.MaximumEnabled by using the API with a C# Code. (using visual Studio). I don´t get access to the ConstraintLimits by Using a C# Code. (same with FB.net). There is a difference to the VBA script.
If I use a VBA script i can do this with the following code:
Dim MaximumEnabled As bool
MaximumEnabled = oOcc.Definition.Occurrences.Constraints.ConstraintLimits.MaximumEnabled = True
If I use a C# script there is a Property "ConstraintLimits" for my Constraints but I don´t habe acess to it. (see.Figure)
How can I use the ConstraintLimits with a C# Code?
What is the difference between C# and VBA in this case?
Using Autodesk Inventor Professional 2021 and Visual Studio 2019.
Hope someone can help me.
Thanks a lot.
Solved! Go to Solution.