Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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: *

  • Users: majke
  • Order by date
  1. majke

    Need to know how to select a Line with VBA Macro

    I found the solution. I want to share it with you just in case another user have the same doubt. First of all, I need to select the line which corresponds with the edge I want, then I search the edge of this line in my previous selection. Here is the code. Dim objSel As Selection, oSel As...
  2. majke

    Need to know how to select a Line with VBA Macro

    I have noticed that I need to select edges, not lines, I did not know the difference, now I did. I have tried with the function search and I can find all the edges of the model, but I do not know how to select the edge that I want. I am sure that it must exist a better way to do it, and I hope...
  3. majke

    Need to know how to select a Line with VBA Macro

    I tried but VBA only allows me to do that if the geometry can be selected from the tree. In that case it can't be selected from the tree, it must be selected clicking directly on the line in the 3D model.
  4. majke

    Need to know how to select a Line with VBA Macro

    Hi Ferdo, First of all, thank you for your post. I know what you mean, but my idea is that the macro could automatically select this edges, not the user. I mean, I know exactly which edge correspond to each shuttle, so it is better to do it in the macro. Thank you again for you responses...
  5. majke

    Need to know how to select a Line with VBA Macro

    Yess you are right, I need to select an edge. How can I change the code for selecting lines? I am sorry but I'm a bit lost here.
  6. majke

    Need to know how to select a Line with VBA Macro

    Hello, I am trying to create a VBA macro which automatically create tracks in the DMU Fitting module. For doing that, I need a shuttle, which represents the part I want to move and a line, which represents the track (path of the part in a dissasembly, for example). Then I select the "Generate...

Part and Inventory Search

Back
Top