Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Drawing Dimension Object

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
mario.lung
607 Views, 3 Replies

Drawing Dimension Object

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#

 

 

 

 

 

3 REPLIES 3
Message 2 of 4
JoAnn_Hogan
in reply to: mario.lung

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
Message 3 of 4

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
mario.lung
in reply to: mario.lung

thx 

 

it works great!

 

Mario

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

Post to forums  

Autodesk Design & Make Report