• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Customization

    Reply
    New Member
    GiottoZH
    Posts: 2
    Registered: ‎06-29-2011

    Problem to create "ISO Pipe Threads holes" with VBA

    64 Views, 1 Replies
    06-29-2011 09:15 AM

    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!

    Please use plain text.
    New Member
    GiottoZH
    Posts: 2
    Registered: ‎06-29-2011

    Re: Problem to create "ISO Pipe Threads holes" with VBA

    06-30-2011 05:58 AM in reply to: GiottoZH

    The CreateTapInfo I setted is 

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

     

    thanks

    Please use plain text.