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

    Randomize surface colors in a CATPart

    Lwolf you are a Legend Thank you so much!! I just need to tweak the R, g and b equations Thanks for your patience
  2. PedroReg

    Randomize surface colors in a CATPart

    That's what I have on my first code and still does not work I need to separate the selecions from my search, i just don't know how. Thanks in advance
  3. PedroReg

    Randomize surface colors in a CATPart

    Hi LWolf, I'm sorry for missing that one! (rookie mistake) However, it comes with the same error "Object doesn't support this property or method" Any tips? Thanks
  4. PedroReg

    Randomize surface colors in a CATPart

    Hey LucasC, Thanks for your reply! I tried to follow your thread, I came up with this: Sub CATMain() Dim vis As Variant Dim objsel As Selection Set objsel = CATIA.ActiveDocument.Selection objsel.Search "CATGmoSearch.Surface.Color='(243,254,177)',scr" Dim mySurface As...
  5. PedroReg

    Randomize surface colors in a CATPart

    Hi Guys I have recently understood the power of macros and have been trying to learn a few things. I work a lot on the GSD, so I tried to create a macro to randomize the surface colors (only the default) that are displayed on my screen. Unfortunately, I couldn't do that. Here is the code that I...

Part and Inventory Search