Continue to Site

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. eperichon

    Macro to know the type of document in the complete catia tree

    Sorry i have forgotten the red line that are importants... '******************************************************** 'By e. perichon , some code borrowed from forums '******************************************************** Sub CATMain() GetNextNode CATIA.ActiveDocument.Product End...
  2. eperichon

    Macro to know the type of document in the complete catia tree

    Hello, Here is an interesting code that give the type of all documents in a tree. You could know if it is a part, a product, or a component. It could be very useful in order to introduce some userrefproperties or other thing in different type of file. Some code are used from other codes find on...
  3. eperichon

    How to removw y UserRefProperties ?

    Hello, thank you for the answer. I have resolve my problem with that code input inside my loop : While oparameters.Count > 0 oparameters.Remove (1) Wend
  4. eperichon

    insert the custom properties txt file?

    Hello, I am ok to create userrefproperties, but how could you remove a userrefproperties that is already created in the doc ?? For example, i have a part with a userrefproperties called "TEST" and i want to remove it via a macro (in order to make a recursive loop on all a produxt) Thank you
  5. eperichon

    How to removw y UserRefProperties ?

    Hello, I have this following code that i try to modify. In fact I want to create a custom property named "AU_COMPO" = 2 in each components of my tree. The code works but the problem is that it adds as new string as the number of component : "AU_COMPO" , "AU_COMPO.1" , "AU_COMPO.2" "AU_COMPO.3"...
  6. eperichon

    Catia macro to replace Property with UserRefProperties in the complete tree

    Hello Mark, Thank you for your answer. I have just tried to modify the code, but I have still the same issue. It works on all the products of the tree, but it doesn't work for the parts inside the tree. '******************************************************** 'By MarkAF, some code borrowed...
  7. eperichon

    Catia macro to replace Property with UserRefProperties in the complete tree

    Hello, I am new in VBA and try to modify a code that change the instance name, in order that this code also change every catia properties of each parts, products ... in the complete tree. In fact I want that this instance rename code also change component DescriptionRef and Nomenclature with...

Part and Inventory Search

Top