Drawing Dimension Object

Drawing Dimension Object

Anonymous
Not applicable
884 Views
3 Replies
Message 1 of 4

Drawing Dimension Object

Anonymous
Not applicable

Hey,

 

Has anyone Information where in witch Object is this Saved

 

07.02.png

 

Its Nothing to find in Dimension / Text

or Dimession Toolearance...

 

 

07.03.png

 

Thx for Help or Sugesstion

 

Mario

 

its Inventor 2014 / .net VB or vba or C#

 

 

 

 

 

0 Likes
Accepted solutions (1)
885 Views
3 Replies
Replies (3)
Message 2 of 4

JoAnn_Hogan
Collaborator
Collaborator

Did you have a look at the styles editor? Maybe you can give me an example?

If this post solved your issue please mark as solved and Kudos are always welcome 😃

Jo - Ann
Twitter: @JoAnn_Hogan
Revit Architecture Certified Professional / Revit Structure Certified Professional / AutoCAD Certified Professional
0 Likes
Message 3 of 4

philippe.leefsma
Alumni
Alumni
Accepted solution

Those are the inspection dimension data, you need to retrieve that info using GetInspectionDimensionData method:

   

    Dim oApp As Inventor.Application
    Set oApp = ThisApplication
   
    Dim oDoc As Inventor.Document
    Set oDoc = oApp.ActiveEditDocument
   
    Dim dimension As GeneralDimension
    Set dimension = oDoc.SelectSet(1)
   
    Dim shape As InspectionDimensionShapeEnum
    Dim label As String
    Dim rate As String
    Call dimension.GetInspectionDimensionData(shape, label, rate)

 

 



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 4 of 4

Anonymous
Not applicable

thx 

 

it works great!

 

Mario

0 Likes