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

    CATIA V5 automation help and resources

    I can't test it but try oSheet.Activate before exporting, first line in for loop.
  2. cilici

    Catia Version Change

    Hello, What exactly did you try and what was the outcome? Why you couldn't do it? More details is preferable.
  3. cilici

    CATIA V5 automation help and resources

    Your best resources are: - macro recording; - V5Automation.chm available in the ..\bin directory of your CATIA installation; - this forum; - COE forum. Your needed code would be roughly along these lines: Sub CATMain() Dim oDrwDoc As DrawingDocument Set oDrwDoc = CATIA.ActiveDocument...
  4. cilici

    Script copy/paste Part bodys in Product context

    Well, my understanding is that you have a multi-bodies part in a Product and you'd like to create for each of the bodies a new Part and after the copy the bodies to fall in the same position as they were in the source part. If that's correct all you have to do is to use the Product to create a...
  5. cilici

    VBA Create a formula in a user property to get material name

    Try this way: Sub Test() Dim oProd As Product Set oProd = CATIA.ActiveDocument.Product Dim oParam As Parameter Set oParam = oProd.UserRefProperties.CreateString("MATERIAL", "") Dim oRels As Relations Set oRels = oProd.Relations Dim oRel As Relation...
  6. cilici

    Catia Parameters Collection

    Dim parnames as Collection Set parnames = new Collection
  7. cilici

    Catia environment problem

    Don't define 'as measurable'.
  8. cilici

    How to change edge color of a Body?

    Hello, Not sure I understand your problem but White's RGB values are 255,255,255. Calin
  9. cilici

    Catia V5-R29 Automation Crash in Drafting with VB.NET code

    Hi, I'm using VS2012, target framework is .NET 4.5.2 Is your code crashing on all computers with R29? Can you run a test on a R29 GA (rollback the SP if any)? Calin
  10. cilici

    Catia V5-R29 Automation Crash in Drafting with VB.NET code

    Hi, It runs perfectly for me. No errors. R29 GA. References in the image attached. Calin
  11. cilici

    Drawing text with Attribute link in VB6

    Something like this? http://catiadoc.free.fr/online/cfyugdr_C2/cfyugdrannotations0103.htm
  12. cilici

    Catia VBA startpoint, endpoint

    Hello, Create the points, compute them but don't append them and then use SPAWorkbench to get the minimum distance between two objects (i.e your points and the plane) Calin
  13. cilici

    MACRO: CATDUAV5 Run in batch mode

    Hello, I've created an app like this way back, like 10 years ago. It was running CATDUA on all associated Documents of a root ProductDocument simply because made life simpler for all designers and they didn't have to care about what Batch CATDUA does. Yes, it was fun, not sure worth redoing it...
  14. cilici

    Catia V5 VBA code to copy product items into a new component

    Hello, If your process allows copy/cut-paste in the tree then use Cut and re-insert them in the order you'd like. Otherwise, no, I am not aware of any method of inserting in a specific position. @HarunMusic: go here and in the description there is link to download an app to reorder the specs...
  15. cilici

    Part's silhouette

    Hello again, There are two more conditions I didn't put out there to avoid biases: 1. Creation of silhouette must be repeated through API. 2. MD2 license. For this two reasons, Eric's solutions cannot work. Now, let me detail what I currently do but it is not full-proof. It works for the...
  16. cilici

    Extract title block info like sheet size, version of drawing etc to an excel or text file

    THE question is: do you have the same name for the texts' boxes? If yes, the number of drawings is IRRELEVANT as the process is the same and CATIA will do the work, not you.
  17. cilici

    Extract title block info like sheet size, version of drawing etc to an excel or text file

    Hello, Open the drawing, look at it, copy-paste the info into Excel. I know I am being sarcastic, but the info provided called for it. Now, seriously, if you know the TextBox's name, just open the drawing, search for your textbox and retrieve the name. If you don't know the name, your best...
  18. cilici

    Part's silhouette

    Eric, Costin, Thank you for your time. Unfortunately, neither of these solutions create a silhouette. They create a projection of ALL the edges but all I want are the outer ones (not even talking about curved surfaces at this point, just the hard edges). Thanks again, Calin
  19. cilici

    MACRO: Save management, rename files

    Hello, Check this video. Is this what you want? https://www.youtube.com/watch?v=fnXOo9vOpC4 Hope it helps, Calin

Part and Inventory Search