Problem to create "ISO Pipe Threads holes" with VBA

Problem to create "ISO Pipe Threads holes" with VBA

Anonymous
Not applicable
387 Views
1 Reply
Message 1 of 2

Problem to create "ISO Pipe Threads holes" with VBA

Anonymous
Not applicable

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!

0 Likes
388 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

The CreateTapInfo I setted is 

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

 

thanks

0 Likes