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

    Autodesk Inventor

    Reply
    Contributor
    Posts: 15
    Registered: ‎10-19-2012

    VBA or VB for sculpting overlapping objects in an Assembly??

    148 Views, 1 Replies
    10-19-2012 08:55 AM

    Hi

     

    I have an assembly with various parts in it.  I am trying to write a routine that will

    1) systematically traverse the assembly and find parts that overlap,

    2) where they overlap perform a sculpt operation on the parts

     

    Whilst i can do this manually by edit>copy object>sculpt>select surface ...  i don't know how to mimic this programmatically. 

     

     So far i have coded to do it in a very hamfisted way by making a derived part file from the overlapping parts, opening the derived part file and performing the sculpt, replacing the original part in the assembly with its new derived-sculpted part and then continuing to traverse the assembly tree..  - it is super slow and uses lots of file operations.

     

    Does anyone have any examples of a slick way to do this??

     

    Thanks in advance

    regards

    Dan

    Please use plain text.
    *Expert Elite*
    Curtis_Waguespack
    Posts: 1,933
    Registered: ‎03-08-2006

    Re: VBA or VB for sculpting overlapping objects in an Assembly??

    10-19-2012 09:02 AM in reply to: mitcham_boy

    Hi mitcham_boy,

     

    You might have better luck searching and asking questions of this type on the Inventor Customization forum:

    http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

     

    I hope this helps.
    Best of luck to you in all of your Inventor pursuits,
    Curtis
    http://inventortrenches.blogspot.com



      solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.

    Please use plain text.