Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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. Dialga1

    Centerline of a wire Macro

    Try this one for me :) Oh and also for using this macro, open your part document. Select wire or tube whatever u want. Then start the macro Sub CalculateWireCenterline() ' Get the active part document Dim partDoc As PartDocument Set partDoc = CATIA.ActiveDocument ' Get the...
  2. Dialga1

    Auto-Counting and Sorting Threads in a Part

    I started and you can continue to code :) just fill the points you need to add your choices. Sub ThreadAnalysis() Dim partDocument As PartDocument Set partDocument = CATIA.ActiveDocument Dim part As Part Set part = partDocument.Part ' Dictionary to store thread...
  3. Dialga1

    Find the circle

    Sub CATMain() Dim drawingDocument1 As DrawingDocument Set drawingDocument1 = CATIA.ActiveDocument Dim SelectionsAll As Selection Set SelectionsAll = drawingDocument1.Selection For Each RefView1 In SelectionsAll Dim Elements As GeometricElements Set...
  4. Dialga1

    Measure radius

    Can u try this for me sir? It will maybe usefull for u :) Sub MeasureRadius() Dim selection As Selection Set selection = CATIA.ActiveDocument.Selection ' Yarıçapı ölçmek için bir daire seçin selection.Clear selection.Search "Type=Circle,sel" If selection.Count...
  5. Dialga1

    I tried to make a catia macro which is make holes visible and all other things are transparent.

    Anyone can try my code on catia for me? And I can excapt any help for my code :) Sub TransparentizeComponents() Dim productDocument As ProductDocument Set productDocument = CATIA.ActiveDocument If Not productDocument Is Nothing Then Dim product As Product Set...
  6. Dialga1

    Is it possible changing position of compass

    In catia part design I want to change compasses original axis. For example changing axis like x axis to y axis and z is other direction negative etc.
  7. Dialga1

    Is it possible make kinematic without dmu kinematic and how?

    Thank you for answering @LWolf. In this link as you can see I see this one and I want to do like this. He said in comment is without dmu https://www.youtube.com/watch?v=3uvofc7EsHE We can move like this ur right but want like animation looks like this video. And also Am I wrong this...
  8. Dialga1

    Is it possible make kinematic without dmu kinematic and how?

    I see some work in youtube but I don't have any idea. How they do that? Is there any methods for this I want to make in a basic die.
  9. Dialga1

    Creating some bodies and assemles with one click with names

    I added example about what am I needed in picture. Is this possible to create parts and assembles like this with 1 macro? I tried my best but I got stuck. Language="VBSCRIPT" Sub CATMain() Set documents1 = CATIA.Documents Set partDocument1 = documents1.Item("Part1.CATPart") Set part1 =...
  10. Dialga1

    I forget holes everytime so I want to make a macro

    Hi again Mr. Ferdo. Sorry about my bad english also I adding a picture I tried my best. It works very good thank you now but I stuck in something in code I entered 100% opacity for holes but they are still are transparent. In product how can I turn my holes full opacity and all of other...
  11. Dialga1

    I forget holes everytime so I want to make a macro

    I tried but It gives me errors Mr Ferdo can you check my code? I'm not sure my code is search holes. My first code works well makes opacity and gives colours to product. Language="VBSCRIPT" Sub CATMain() Dim productDocument1 As Document Set productDocument1 = CATIA.ActiveDocument Dim...
  12. Dialga1

    I forget holes everytime so I want to make a macro

    Thank you LWolf I used this code for first option how can I adapt search code to macro? For example make this searched holes green. Language="VBSCRIPT" Sub CATMain() Dim productDocument1 As Document Set productDocument1 = CATIA.ActiveDocument Dim selection1 As Selection Set selection1 =...
  13. Dialga1

    For Catia is there any progressive die maker add on like logopress or 3dquick press?

    I searched a bit and I didn't find anything about this.
  14. Dialga1

    I forget holes everytime so I want to make a macro

    Hello friends I'm new in Catia macro. I have several questions. 1) I tried to save macro but it didn't worked in opacity and colour. I want to make 0% or 25% opacity all of the product and giving white colour. 2) In product I need to find all holes. Give all holes red color and count them (I...

Part and Inventory Search