Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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: Aviatorbarath
  • Order by date
  1. Aviatorbarath

    Creating Camera View with respect to local axis system

    Hi I need to create a Camera view in the first quadrant (1.e XY plane with both x and y facing positive direction) with respect to LOCAL COORDINATE i.e new cooordinate system Any Suggestions will be helpful.. I used the following code but it gives the results wrt to global coordinate doesnt...
  2. Aviatorbarath

    How to change direction of the line vector

    How to change the vector of a line.. I tried one script. But it doesnt work and gives error in PutDirection syntax Here is my code Sub CATMain() Dim partDocument1 Set partDocument1 = CATIA.ActiveDocument Dim part1 Set part1 = partDocument1.Part Dim hybridShapeFactory1 Set...
  3. Aviatorbarath

    How to measure Radius of a curve

    Hi itsmyjob Yea your are right, cant measure the radius of the arc with measurable....that was my problem.. wat is that parameter with formula, can you explain me with example if possible Thanks Barath
  4. Aviatorbarath

    Start Command not working .Any Suggestion

    Hi Ferdo Not working in the sense. The same script gives error, which says "Unknown Commmand". In my original script, i have preselected the points to be measured...So selection is not an issue.. Problem is with the error Actually in my actual scenario, i have to show "n" number of point...
  5. Aviatorbarath

    How to measure Radius of a curve

    Hi Ferdo I am looking for macro to find the radius for arc type. To measure radius of a circle, there is a syntax. For section using arc, there is only length i can find, no syntax for arc. Can you u suggest me some script to measure the radius of the arc. Thanks Barath
  6. Aviatorbarath

    Start Command not working .Any Suggestion

    I have installed Catia VR20 in my PC. The command which i have used to invoke Measure item option, i have attached below. That particular code works in my PC whereas in doesn't work in my Office with same version installed in my office. Can someone tell me wat am i missing to make it work...
  7. Aviatorbarath

    How to measure Radius of a curve

    Hi ferdo I checked some sites; it says arc cant be measured the radius with Measurable syntax. i need macro to get radius of the arc...If u can explain with macro example..it wil be helpful Thanks Barath
  8. Aviatorbarath

    How to measure Radius of a curve

    Hi I have disassembled a surface and extracted lines and curves out of it.. now i want measure the radius of the curvature of those curves if my disassembled items is circle, tehn i could measure the radius from it, whereas if it is curve, in that case tht code doesnt work... below is the code...
  9. Aviatorbarath

    Need help in searching and selection of part

    Hi ferdo I found the syntax for selecting the object named Intersect. but bfore that how do i select the geometric set. I need the intersect object only from the specified geometric set.. Any suggestion Regards barath
  10. Aviatorbarath

    Need help in searching and selection of part

    Hi ferdo yea You are right. Send keys dont work in CATScript thats y opted VBA and as per suggestion added delay code bfore send key execution. And thanks for that useful link, it was more than useful Thanks and regards Barath
  11. Aviatorbarath

    Script to set front view of a surface

    How to set a front or side view of selected part using vba in catia what code or command has to be used Any suggestions will be helpful Regards Barath
  12. Aviatorbarath

    Need help in searching and selection of part

    I have a hybrid shape "INtersect in a know geometric set. I would like to do the selection automatically which is in the Geometric set named " geometric_Set_Disassemble rather specifying the name of the intersect Any suggestions. My actual code is given below Dim hybridbody8 Set hybridbody8 =...
  13. Aviatorbarath

    How to copy the Plane to New Geo Set

    This is wat i tried IN catvba Dim Selection1 as object Set Selection1 = CATIA.ActiveDocument.Selection MsgBox "Select a Plane" Status = sel.SelectElement2(inpt2, "Select a Plane (" & msgboxtext & "), (C)EMA", False) [highlight #FCE94F]' For User Selection (a plane in my case)[/highlight] Set...
  14. Aviatorbarath

    How to copy the Plane to New Geo Set

    Hi I wanted to select a plane manually (user input). Once user selects the Plane (parent Geomertic Set is Unknown in this case), i want tht plane to be copied to the new geometric set (Geo_Set_Plane) which i created. Any suggestions How to add to the selection and copy it to the new...
  15. Aviatorbarath

    Setting Viewer Background Color results in error

    HI I tried ferdo's code but still my background colour stays in white. Doesnt get back to old color after putbackground colour statement. Am i missing something Any suggestions Thanks Barath
  16. Aviatorbarath

    Need help in report generation for strains in PATRAN

    Hi How to write a report for strains for the selected elements in a range in PATRAN..any suggestios will be helpful Regards Barath
  17. Aviatorbarath

    Need help in macro to create dimension for the surface points

    Hi Actually I have never used this annotations options bfore..Does Annotations gives the coordinate of that point with respect to local coordinate. Thanks Barath
  18. Aviatorbarath

    Need help in saving a screenshot in CATVBscript

    Hi Ferdo Thanks for replying Actually i don wanna choose the saving location..I jus wanna save the picture in the same folder where active cat part is.. My need is something like this..to get the file path of active cat part.. any function to retrieve the file path of opened active cat part ...
  19. Aviatorbarath

    Need help in macro to create dimension for the surface points

    Hi I need to create the dimension of the section surface like i have shown in the attachment using vb script. I have extracted the points and its coordinates using a script..... Now i need code/script to add visual dimension like tht with the coordinate details available... I tried with some...
  20. Aviatorbarath

    Need help in saving a screenshot in CATVBscript

    HI I would like to save the screen shot/snapshot in the same folder where My actual screenshot.CATvbs present. fileloc = [highlight #CC0000]"D:\Screenshot/"[/highlight] Dim exten exten = ".jpeg i don wanna use the specific file location to be saved..any code to grab the location of the...

Part and Inventory Search

Back
Top