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 Automation with VBA

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
Anonymous
16458 Views, 20 Replies

Drawing Automation with VBA

Dear,

I got a macro job for creation the drawing for a part. I got a lot of problem.

 

1/ The first one is move view:

I already create a view (e.g. oIsoView), now I want to move it to the left.

I find the DrawingView.Position method, how can I use this method? I try many time, but it's not successful yet.

 

Do I need to use the SelectSet method??????

20 REPLIES 20
Message 21 of 21
singojuswadeepkumar
in reply to: Anonymous

Dim pSymbl as string

pSymbl = "Ø"

 

Dim pGenDims As GeneralDimensions
pGenDims = .DrawingDimensions.GeneralDimensions

 

Dim pCnt As Integer

pCnt = pGenDims.Count ''Get the latest count of the dimension & edit the dimension immediatly after creation

pGenDims.Item(pCnt).Text.FormattedText = pSymbl & "<DimensionValue/>"

 

 

 

 

 

Please Accept as solution if you got succeeded.

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

Post to forums  

Autodesk Design & Make Report