Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Charlie

    To open CATIA V5 R16 using Scripting

    I have two releases, R16 and R25, of catia installed on my workstations. Problem is i want to start, release 16 using scripting. Only command i know is createobject("CATIA.Application"). But it does not include any version or release name in this. How can i start a specific catia environment...
  2. Charlie

    Putting newly created edge into selection without selecting it

    I want to create a shaft and add a chamfer on its one edge. I know the edge on which i want to add chamfer. So, i only want from user the length of chamfer and edge selected by itself. Anybody knows how edges can be send to selection without selecting it? Is There any name method for catia by...
  3. Charlie

    Scripting for isolating plane or geometry elements

    it is working but only when you are working in a nonhybrid part. I wants to work in hybrid part. In hybrid part, you can't insert a hybrid body and line Set hybridBody1 = hybridBodies1.Add() gives error. Is there any idea to deal in hybrid part.
  4. Charlie

    Use Step Product file in scripting references??

    i defined it in upper part of code not shown here.
  5. Charlie

    Scripting for isolating plane or geometry elements

    i make a extracted plane in part using scripting and then add it to selection set and use same command. but didn't work. Is this command works on current selection set. My program is as follows Sub CATMain() Dim partDocument1 As Document Set partDocument1 = CATIA.ActiveDocument Dim part1 As...
  6. Charlie

    Scripting for isolating plane or geometry elements

    Can anyone tell me about any function that can be used to isolate plane or surface created using scripting. I need to isolate a plane in a part so that i can cut and paste it into another in same location without references. With references it will not be pasted. Please Give some suggestion..
  7. Charlie

    Use Step Product file in scripting references??

    I have made all the corrections you suggested but still showing error,"method Addnewaxisline failed". My new programchanged part is as: Dim Selection1 As selection Set Selection1 = partDocument1.selection Dim selection2 Set selection2 = Selection1 Dim...
  8. Charlie

    Use Step Product file in scripting references??

    I have a step product file containing two products 1 & 2. product1 contains a hole. Now, i want to add a product 3 in which a hole is made concentric with this hole. i write following program to excess cylinderical hole surface but it gives error. Can anyone help that how to access this . Sub...
  9. Charlie

    How to access section properties using scripting??

    I want to access properties of section view using scripting like its name ident i.e. F for section F-F and scale (to add it later to text box). As i couldn't find any method in object tree.method name returns full name.Is there any way to access only ident and scale? Any suggestion would be helpful
  10. Charlie

    Compile error in background color code in VBA

    Thanks a Lot guys for your help.It is working and helps me understand a lot.
  11. Charlie

    Compile error in background color code in VBA

    It is working But if i want to enter the value of color array from user then it is taking in as string even when you enter number so give a error 'type mismatch'. if I make color as double function Putbackground color will give error. how can this be solved. My program is as below: Sub...
  12. Charlie

    Compile error in background color code in VBA

    you are creating object for CATIA application object and i am using directly . what effect does it make on error. Error remains same. One more thing error comes on line 1 i.e. Sub CATMain(). if it is showing error on sub function how it will execute statements inside function.
  13. Charlie

    Compile error in background color code in VBA

    I have made this program in VBA and i am getting color value of background but it showing compile error there that"Function or interface marked as restricted or the function uses an automation type not supported in visual basic".Can you give the reason of error?? This is working in CATScript...
  14. Charlie

    fillet finding in range in step file

    I already tried it.But it not select all fillet in given range.Also, don't show how many fillets in the range given .Don.t work with small range like 0.1mm to 2mm fillets (it will not shows fillets upto 1mm). only can be used with simple geometries. Also, to remove these fillets we have to...
  15. Charlie

    fillet finding in range in step file

    I have a stp file which i imported in Catia V5 R20. I want to find and remove all the fillets in range 1 to 3mm in this file. Is there any tool which can be used to find directly all fillets in considered range as i don't want to measure every fillet.
Back
Top