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

    [Macro CATIA] State of a drawing view

    thank you AlexLozoya
  2. sigmacoder

    [Macro CATIA] State of a drawing view

    Hello, How can i know if a drawing view is hidden or not using VBA Code? thank you!
  3. sigmacoder

    [Macro CATIA] identifier of view as parameter

    anyone know how to use : String = "String to insert after" MyTextRange.InsertAfter(String) to answer caracters after the callout?(see response above)
  4. sigmacoder

    [Macro CATIA] identifier of view as parameter

    ferdo: imagine this scenario: if i add some caracters to the callout text "A" of the cut section for example, change it to "A12", and after that i try to change the name of the view "A-A", the callout text will not change, and it's a big problem! one solution is to use: Dim DrwDocument As...
  5. sigmacoder

    [Macro CATIA] identifier of view as parameter

    no one can help me this time ? :D
  6. sigmacoder

    [Macro CATIA] identifier of view as parameter

    Hi, My question is : how to use the view identifier as parameter? For example : Dim DrwDocument As DrawingDocument Set DrwDocument = CATIA.ActiveDocument Dim iParameter As Parameter Set iParameter = DrwDocument.Parameters.Item("Drawing\Sheet.1\ViewMakeUp.1\Scale") MyText.InsertVariable 0, 0...
  7. sigmacoder

    [Macro CATIA] Format a drawing text

    thank you itsmyjob and ferdo you helped me lot !
  8. sigmacoder

    [Macro CATIA] Format a drawing text

    Hi everybody, i'm here again :D i have a question and i hope that will be an easy one. how can i format a sub text? for example if i have a drawing text and i want to change it's value to : FormatedExample i know that we can set the propreties of the hole text... but i want to know if...
  9. sigmacoder

    [Macro CATIA] change cut view text

    thank you again ferdo, it works!
  10. sigmacoder

    [Macro CATIA] change cut view text

    thank you ferdo, i didnt see your answer ... it's a smart solution, but : selection1.Search "CATDrwSearch.DrwText,all" will search in all the drawing document so it will consum lot of memory ... can i search just in the active view ? how can i do that?
  11. sigmacoder

    [Macro CATIA] change cut view text

    hi ferdo, my question is clear ... if it is a drawing text, why can't find it in the texts collection? this is my code: Sub CATMain() Set drawingDocument1 = CATIA.ActiveDocument Set drawingSheets1 = drawingDocument1.Sheets Set drawingSheet1 = drawingSheets1.Item(1) Set drawingViews1 =...
  12. sigmacoder

    [Macro CATIA] change cut view text

    if it's a drawing text ... why we can't found it in texts collection ?
  13. sigmacoder

    [Macro CATIA] change cut view text

    [3eyes] it's a strange problem ... for me in this case textsCollection.count return 0!
  14. sigmacoder

    [Macro CATIA] change cut view text

    i created this "text" by creating a cut view ... we can't know the type of this object ?
  15. sigmacoder

    [Macro CATIA] change cut view text

    If i use this code with my drawing ( http://www.hostingpics.net/viewer.php?id=65419615ca.jpg ) : Sub CATMain() Set drawingDocument1 = CATIA.ActiveDocument Set drawingSheets1 = drawingDocument1.Sheets Set drawingSheet1 = drawingSheets1.Item(1) Set drawingViews1 = drawingSheet1.Views Set...
  16. sigmacoder

    [Macro CATIA] change cut view text

    Thanks Fernando, your code work perfectly ... I can change this text with this method, but my objectif is to do that without the intervention of the user ... i dont know why catia dont consider it as text, so i can access to it with texts collection ... anyone can help me ?
  17. sigmacoder

    [Macro CATIA] change cut view text

    if the user select this "text" ... catia dont consider it as text ... so you can't change it ... this is the problem ... i dont believe that we can't make this simple task with CATIA VBA ... it's sad ...
  18. sigmacoder

    [Macro CATIA] change cut view text

    AlexLozoya: i want to change the value of this text without changing the name of the cut view ... manually it's possible ... but with macro i dont know how ...
  19. sigmacoder

    [Macro CATIA] change cut view text

    thanks for your answer ferdo... but if i double clic on this text i can change it without affecting the cut view name ... and i want to do that with a macro ... i hope that you understand what i mean...
  20. sigmacoder

    [Macro CATIA] change cut view text

    Hi AlexLozoya, thanks for your answer, but i need to change the value of text which indicates the source of cut view ( you can see the picture ... ) [ponder] can someone help me to resolvre this problem?

Part and Inventory Search

Top