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: 

Problem to create "ISO Pipe Threads holes" with VBA

1 REPLY 1
Reply
Message 1 of 2
Anonymous
310 Views, 1 Reply

Problem to create "ISO Pipe Threads holes" with VBA

I have created a hole of "ISO Metric profile" with the CreateTapInfo as

oHoleTapInfo = oPartDoc.ComponentDefinition.Features.HoleFeatures.CreateTapInfo(True,  "ISO Metric profile", ""M8x1.25"", "6H", False,  "12mm")

and it is Ok.

 

But now I need to create a "ISO Pipe Threads" hole, and I can't find any "class" information in the "Thread.xls",

when I set CreateTapInfo as 

oHoleTapInfo = oPartDoc.ComponentDefinition.Features.HoleFeatures.CreateTapInfo(True,  "ISO Pipe Threads", HSize, " ", False, b & "mm")

the error occur.

 

How to set the class information of "ISO Pipe Threads"?

 

Thanks a lot for your help!

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

The CreateTapInfo I setted is 

oHoleTapInfo = oPartDoc.ComponentDefinition.Features.HoleFeatures.CreateTapInfo(True, "ISO Pipe Threads", "G 1/8", " ", False,"10mm")

 

thanks

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

Post to forums  

Autodesk Design & Make Report