Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Gupta65

    www.cadforum.net down ?

    I have sent you a DM
  2. Gupta65

    www.cadforum.net down ?

    New login is required. Currently it is by invitation only, but soon it will be open to all.
  3. Gupta65

    www.cadforum.net down ?

    Jim did all the required work, and CadForum is back (still under beta) under the new name https://forum.cadmunity.com/ :)
  4. Gupta65

    Hole Wizard is moving sketch outside of feature in tree

    It was fixed with a hotfix for SP 4, and then fixed in the SP 5.
  5. Gupta65

    Hole Wizard is moving sketch outside of feature in tree

    The issue started with 2024 SP 4.
  6. Gupta65

    Hole Wizard is moving sketch outside of feature in tree

    This is a reported issue/bug (BR10000387004), and fixed in SW2024 SP4 with Hotfix. You may contact your VAR, and they would help with the required hotfix.
  7. Gupta65

    Hole Wizard is moving sketch outside of feature in tree

    Can you attach one part file showing this behavior to check on our machines?
  8. Gupta65

    Hole Wizard is moving sketch outside of feature in tree

    Can you post a screen shot? Also check if tree display is set to flat tree view (check attached picture). If yes, then unselect it.
  9. Gupta65

    ReplaceViewModel not working

    OK, no worries. Try the macro on a dummy file set, and see if you still get the same issue.
  10. Gupta65

    ReplaceViewModel not working

    Well, will have to verify/debug this on your machine then. Are you open for screen sharing?
  11. Gupta65

    www.cadforum.net down ?

    Read this https://www.linkedin.com/posts/mattlombard_cad-activity-7314431462110359552-qa3Q/
  12. Gupta65

    ReplaceViewModel not working

    Check if "Update component names when documents are replaced" is selected under Tools > Options> External References. If not, then select it, and try again.
  13. Gupta65

    ReplaceViewModel not working

    I tested your codes, and they worked OK for me. So something not correct with your workflow. Can you check the macro references, remove any references that says utilities, and then try again? The only change I made was to hard code the path, since you had not shared the codes for the browse...
  14. Gupta65

    ReplaceViewModel not working

    Did you tried a force rebuild? Else try the ReplaceReferencedDocument method (and this would need all the files to be closed)
  15. Gupta65

    www.cadforum.net down ?

    Matt has decided to take down all his site!! We are trying to get them back running (still working on how to execute it) as Matt has agreed to help/share the files of the sites.
  16. Gupta65

    Select parts of subassemblies

    swComp.Name2 gives component name followed by it's instance id. So in your case, if a component is used more than once (for e.g. pattern components), the codes may give error. So you may need to do 2 things: 1. Get a unique list of the components (parts) you want to rename. 2. Use file part...
  17. Gupta65

    Select parts of subassemblies

    What is your end goal to select the parts? You can use IAssemblyDoc.GetComponents wtih False option to get all the assembly component. Then you can get the modeldoc for each component, get the model type, and select only the parts.
  18. Gupta65

    Image of assembly component in userform macro vba

    I have never tried using eDrawings controls with the cut list bodies, so there is no harm in trying otherwise you can always switch to plan B.
  19. Gupta65

    Image of assembly component in userform macro vba

    You can use the edrawings control (it may be slow) OR can capture image of the selected components, save in the temp location and show in the image box.
  20. Gupta65

    SW Macro to list hole wizard features and measures the diamter of modeled hole

    Try following codes. Add more hole cases as needed. Dim swApp As SldWorks.SldWorks Dim swModel As SldWorks.ModelDoc2 Dim swFeat As SldWorks.Feature Dim HoleFeatData As SldWorks.WizardHoleFeatureData2 Sub Main() Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc...

Part and Inventory Search