Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations Toost 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: *

  • Users: KABEL
  • Order by date
  1. KABEL

    Automation error, System Call failed

    tesak Thanks for your reply, The problem is that this error isn't reproducible at a specific line of the code, every time it appears in a different line that's why I didn't post the code.
  2. KABEL

    Automation error, System Call failed

    Hello! I'm getting this error message "AUTOMATION ERROR" (picture below), only when I run the macro step by step, and sometimes it gives me this error randomly. Is there any way to solve this issue? I appreciate your suggestion. Thanks in advance ___________________ Sincerely,
  3. KABEL

    create a cube vba catia v5

    jasoncwells thank you for your response, that's a great idea, the probleme is that I always change the file (assembly) that I'm working on. itsmyjob for the dimension I want to set it to 14mm. is there any way to achieve that, I do have multiple points in the space. thank you in advance,
  4. KABEL

    create a cube vba catia v5

    hello everyone, is there any possible way to create a cube using only a point in the space, with vba catia v5. Regards,
  5. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    ferdo I really appreciate your help, thank you veryy much , have a nice week end, [thumbsup2] hi CAD2015 thank you for the suggestion , unfortunately I'm on win 7 [pc1].
  6. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    Thank you again Ferdo, now everything works fine, I found this to way to kill the snipping tool : Sub TerminateApp() '--------------------------------------------------------------------------------------- ' Terminates the exe process specified. ' Uses WMI (Windows Management...
  7. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    Hi ferdo, thank you, I really appreciate the way you help others , using the snipping tool sames to be a good way to solve this problem, that what I did : Public wsh As Object Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As Any, ByVal lpWindowName...
  8. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    iscariot yeah, I've been spending days trying to solve this issue. catiavbmacro I want to give the user the possibility to select an area that he desire to be captured, then with the second button I have to take a picture of that area because I'll include this picture in a generated report...
  9. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    Can someone please help me out? [bowright]
  10. KABEL

    how to take a screenshot for a selected area using vba Catia V5

    Hi everybody, I’m working on project in catia V5 using vba, in this project I want to achieve those things : I want to use a userform with two buttons: the first one is reserved to appear the Capture toolbox (picture below) ,Then wait for the user to select the area that he want to be...
  11. KABEL

    Create the (Product+3DShape) couple Catia V6

    itsmyjob Thank you too much, I understand now, in my case I don't receive any licencing error, the only thing I can't do is to create a 3DPart, I receive an error on the checking of the discipline client attribute SetAttributeValue "V_CustoDiscipline","PDD", I'm getting in touch with the DS...
  12. KABEL

    Create the (Product+3DShape) couple Catia V6

    itsmyjob could you please show me (the code) how to do that ? thanks in advance regards;
  13. KABEL

    Create the (Product+3DShape) couple Catia V6

    ferdo Many thanks, you're too kind,I really appreciate your support, First I'm using catia v6R2013, What I want to achieve is to create PDD (product) then insert (create inside) a 3DD (3DShape); I found this way : Retrieve the VPMReference object from the PDD after it has been created(root...
  14. KABEL

    Create the (Product+3DShape) couple Catia V6

    LWolf thank you, I really appreciate your feedback , I've already checked this topic, its not what I'm looking for, ferdo thank you for reply , could you please copy the thread presented in your COE Link, cuz I'm trying to access to the link but the login page keeps me of the thread, I...
  15. KABEL

    Create the (Product+3DShape) couple Catia V6

    Can someone please help me out? [bowleft]
  16. KABEL

    Create the (Product+3DShape) couple Catia V6

    Hello everyone, I've been spending days trying to figure out how to create a Product then place in a 3DShape inside this product created, I tried this code below: Sub CATMain () '-----create a product dim oNewService As PLMNewService2 set oNewService =...
  17. KABEL

    Change Excel paper size

    LWolf thank you for your kind information,I really appreciate it; have a good day, regards, KABEL
  18. KABEL

    Change Excel paper size

    Thanks everyone I resolved the problem by replacing xlPaperA4 with the number 9 and xlPaperA3 with 8, and xlPageLayoutView with 3 For this reply,I just wanna share with you my solution, it works well now regards,
  19. KABEL

    Change Excel paper size

    I've tried this : '******My Main Code Public optionA4 as boolean Public optionA3 as boolean '-------------------------------- Sub CATMain() dim AppliExcel As Object Set AppliExcel = CreateObject("Excel.Application") AppliExcel.Visible = True AppliExcel.Workbooks.Add '****** UserForm1.Show If...
  20. KABEL

    Change Excel paper size

    Hi, itsmyjob Thank you for your response, I tried your suggestion but its still not working, I got this error message " Automation error ", I'm launching Excel from CATIA, and I need to set the excel page size to A4 or A3 as mentioned above regards,

Part and Inventory Search