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: *

  1. CozminC

    Catia 2D drawing/drafting, weld symbol text information. (macro)

    Hello drewmumaw and thank you, O have managed to do it some weeks ago but i forgot to post here, Here is how i did it if anyone else needs this: Dim textRange1 As DrawingTextRange Dim textRange2 As DrawingTextRange Dim textRange3 As DrawingTextRange Dim textRange4 As DrawingTextRange Dim...
  2. CozminC

    Catia 2D drawing/drafting, weld symbol text information. (macro)

    I tried but no action recorded during editing or creation of welding symbols. I saw that the macro recorder does not work all the time for all the functionalities....:(
  3. CozminC

    Catia 2D drawing/drafting, weld symbol text information. (macro)

    Hello, In a 2d view I have some weld symbolsn and i need to edit by scripting their textboxes but i can't find in the automation file how to do that. There are 5 textfields for the weld symbols , 2 up, 2 below and another at the end of the symbol. Does anyone know how can i acces those...
  4. CozminC

    Macro - extract CAT.Products names from tree.

    Thank you all. Your answers were very helpful .
  5. CozminC

    Macro - extract CAT.Products names from tree.

    Thank you both for your answers. After i read the reply of "itsmyjob" i have searched for recursive script for catia tree structure and i have found some userfull info. Some info were wrong from the first time : there are product with names starting with : "C","_","M","G" and 12313R (The "R" is...
  6. CozminC

    Macro - extract CAT.Products names from tree.

    Hello all, Here is the situation. In CATIA i have a CAT.Product that contains other Products(those are containing also other products.) I need to extract the names of all products wich are starting with "R" lettter from my tree.The problem is that the "R" products can be found at different...
  7. CozminC

    CATIA script (macro) Weld Symbol - flip and associate to element.

    Hy all, I. WeldingSimbols Does anyone knows how is the syntax for flipping a WeldSymbol (in Drafting). What about making it stick to a specified element. I had some drawingTexts and use for them the next syntax : myText.Angle = 90 both work for Texts...
  8. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    Your code included in a For loop , is doing right what i needed.It's changing those text fields on every CatDrawing that is opened. Thank you all a lot for your support. CatScript : Sub CatMain() For I = 1 To CATIA.Documents.Count Here Code posted By Alex or Fernando Next End Sub...
  9. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    Alex thank you. Now i left from work and heading home.I will try your script and come back with a feedback. Regards
  10. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    I have asked someone at work who has experience in vb for catia and making macros and told me that the table is a 'vigniette' (french term) , or a 'editable detail' and it can be modified by macro (as long as it is possible to edit it manually by double clicking the text fields end edit...
  11. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    As long as it is possible to edit manually those text fields , i assume that it is possible by coding too. I have also tried to manually search with Find , those text strings , but they can't be found. Is there a way to create a macro so i can view the properties of that object ? Maybe if i...
  12. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    I dont have to create any new sheet. I must open all CatDrawings in Catia. (Every CatDrawing has a single Sheet.) And then must update those text fields. I have tried recordering a macro , but when i select and modify those texts , nothing seems to appear as code. Also checked V5Automation...
  13. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    I have uploaded CatDrawing here : http://files.engineering.com/getfile.aspx?folder=df05bd17-6298-4638-94a5-62d970c29877&file=01.CATDrawing
  14. CozminC

    Modify Text in Title Blocks on every CatDrawing that is open.

    This is how the Title Blocks looks (every CatDrawing the same.) Now what i have to do is to modify Text1 , Text2 , Text3 ,Text4 and Text 5 on every page. I am new to catia , and VB too. I have tried to create a macro that asks me ..what new text should be and type them in the text boxes but i...

Part and Inventory Search

Back
Top