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

    CATIA VBA : range.Find exact value from CATIA

    I found the answer to my problem in CATIA wbk2.usedrange.find(thetext,lookat:=XlWhole) does not work instead use wbk2.usedrange.find(thetext,lookat:=true) regards
  2. jissididi

    CATIA VBA : range.Find exact value from CATIA

    Hi everybody, I made a macro exporting data (drawingtexts) into a newly created excelsheet "wbk1" I want to make a check with another workbook ("wbk2") to find if the text I exported in my "wbk1" exists in "wbk2". I need to use the wbk2.usedrange.find(thetext,lookat:=XlWhole) method (because I...
  3. jissididi

    CATIA VBA & DRAWINGS / texts visual properties

    "Well, I was hoping that you would do a bit of research by yourself." I will think about it next time
  4. jissididi

    CATIA VBA & DRAWINGS / texts visual properties

    Thank you Little Cthulhu, it is important to me to know exactly where the texts are located. And btw, by using the : CATIA.ActiveDocument.Selection.Search "CATDrwSearch.DrwText.Visibility=Visible,all" the selection made does not take into account the baloons and all the other types of...
  5. jissididi

    CATIA VBA & DRAWINGS / get the view of a selected object in drawing

    Hello All, If I make a selection of all the texts in a drawing, where can I find the views in which ones every text are located ? something like dim myselection as selection set myselection = CATIA.activedocument.Selection 'with for exemple 2 texts selected in a drawingview msgbox...
  6. jissididi

    CATIA VBA & DRAWINGS / texts visual properties

    Hi everybody I'm writing a new macro to check texts in drawings. I want to get the visualproperties of each text of each distinc view of each distinct drawingsheet And so far the only way of doing this was using selection.add but it's sooooooo long that I need your help to find a better way of...
  7. jissididi

    catia : use VBA to create an InertiaVolume in the part, not just get the results.

    OK THANKS A LOT BUT... IS THERE A WAY OF DISPLAYING THE INERTIAVOLUME AT THE SCREEN ?
  8. jissididi

    catia : use VBA to create an InertiaVolume in the part, not just get the results.

    Hi, I am looking for a way to create an InertiaVolume in catia (see picture) using VBA. Do you have any idea ? I need it to be created in the part, I can't afford to just get the measure results. Thanks
  9. jissididi

    CATIA VBA : collections does not work in catia vba in some computers

    Hello everyone, I have an issue with some computers running the same macro: I create a collection to save selections. then I want to use this collection to select the elements saved earlier in this collection (I can't do it by another way because I'm dealing with automatically generated...
  10. jissididi

    CATIA VBA select a planar section knowing its BREP name

    As mentionned earlier, I'm trying to select the planar sections, not the geometrical sets. Is there an issue with the collection I created ?
  11. jissididi

    CATIA VBA select a planar section knowing its BREP name

    Ok It seemed to work but at the oSelection.Add myCollection.Item(i) CATIA selects the geometrical set in which one are the planar sections but not the planar sections.... any advice ? Dim myCollection As New Collection oSelection.Search ("Name=" & geoSet) oSelection.Search...
  12. jissididi

    CATIA VBA select a planar section knowing its BREP name

    Hi all, I made a macro in which one I create Planar Sections (lot of them). As the planar section creation is not scriptable (because it needs user to click on buttons) it creates the planar sections beginning from PlanarSection.1 and then 2,3,4,5,6... But you would know that if there were...
  13. jissididi

    CATIA VBA renaming one item of a selection

    no it does not work either tells me that NewName does not support the .Name property
  14. jissididi

    CATIA VBA renaming one item of a selection

    the planar sections are selected so the selection works fine but the .Name method does not with the planar sections
  15. jissididi

    CATIA VBA renaming one item of a selection

    Another thing I just tried to run my code selecting the planes instead of the planar sections and it works perfect, I just don't understand why it does not work for the Planar Sections....
  16. jissididi

    CATIA VBA renaming one item of a selection

    Hi again, So I tried it but unfortunately, the method oSelection.Item(i).Value.Name give me an error.... I don't know How to manage this anymore iterationAutoMode = 0 oSelection.Clear Set oSelection = CATIA.ActiveDocument.Selection oSelection.Search...

Part and Inventory Search

Back
Top