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

    VBA/CATScript memory leak

    Hello Everyone I have read that memory leak when running scripts in Catia is a "feature", but until now I didn't realize that it leaks like a sieve. Or maybe I'm doing something wrong. I wrote a simple script to test this: Sub CATMain() Dim oDocument As PartDocument Dim oPoint As...
  2. peter_m

    Macro in CATIA using VB.Net

    Hi, My suggestion is to start with VBA code then rewrite it in VB.net. Could you share with us what you have written by now? 1) Use AddNewPointOnCurveFromDistance or AddNewPointOnCurveFromPercent from HybridShapeFactory 2) To mesaure distance use SPA Workbench. Regards Peter
  3. peter_m

    AppendHybridShape perfomance impact

    Hi Ferdo Thanks for reply. I have read this thread but i still didnt find answer for my problem. This is example of my tree: Geo Set | |--Object ...| ...|--SubElement1 ...|--SubElement2 ......| ......|--SubElement3 ......|--SubElement4 My VBA script crating a lot of these Object elements and...
  4. peter_m

    AppendHybridShape perfomance impact

    Hello Everyone! I encounter strange thing which i dont fully understand. I have vba script which generate a lot of geometry in a loop. In each loop I create 2 to 5 support lines/planes etc and one final result. When I'm appending this final result to tree script finishes almost 50% faster than...

Part and Inventory Search