Continue to Site

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: *

  1. sachinTata

    Rename CATIA V5 Product and Parts

    got it itsmyjob @3DPLM remove LCase from the replace string and use vbTextCompare as argument, then you will get the desired result check below lines objFIns.Name = Replace(objFIns.Name, FstStr, SndStr, , , vbTextCompare) objFIns.PartNumber = Replace(objFIns.PartNumber, FstStr, SndStr, , ...
  2. sachinTata

    Change dimension format in sketch

    hey Poorpaulus, these value are for exponential notation.... like if the value is more than 6 digit after decimal... than CATIA will show the dimension in exponential form, above two values are for left and right place of decimal
  3. sachinTata

    MACRO CATIA from cat.drawing to TIFF

    hii pnavy, for this you can use Left command to remove extra character from the name string check below code Sub CATMain() folderinput = InputBox ("Put your files here","Input","C:\temp\",2000,4000) folderoutput = InputBox ("Take your files from here","Output","C:\tempout\",2000,4000) Dim...
  4. sachinTata

    Rename CATIA V5 Product and Parts

    Use below macro in CATVba.... for using this macro, follow below steps 1) first create new assembly from old assembly by using File->new from 2) run this macro... 3) In first input box , "enter string to be replaced" ..... as in your case it is "1234567" 4) In second input box, "enter replaced...
  5. sachinTata

    Modified Catia BOM macro

    welcome TheKyle9 itsmyjob have already explained everything (y) :)
  6. sachinTata

    Modified Catia BOM macro

    check below image.... is this is as per requirement??? if yes... then use below code... i am also attaching CATVbs file.... Language="VBSCRIPT" Sub CATMain() ' ******************************* test if product is open ***************************** If CATIA.Documents.Count = 0 Then MsgBox...
  7. sachinTata

    Compile error in background color code in VBA

    above code is not visible... check this Sub CATMain() Dim i As Integer Dim color(2) Dim backgroundview Set backgroundview = CATIA.ActiveWindow.ActiveViewer For i = 0 To 2 Step 1 color(i) = InputBox("Enter RGB value for color between 0 and 1:" & (i + 1), "Enter you value:") If ((color(i) < 0)...
  8. sachinTata

    Compile error in background color code in VBA

    use below code to set value.... you have to pass integer array. Sub CATMain() Dim i As Integer Dim color(2) Dim backgroundview Set backgroundview = CATIA.ActiveWindow.ActiveViewer For i = 0 To 2 Step 1 color(i) = InputBox("Enter RGB value for color between 0 and 1:" & (i + 1), "Enter you...
  9. sachinTata

    Compile error in background color code in VBA

    hey deepakmangal.... you are getting error because color array is passed as CATSafeArrayVariant, which is not available in VBA. so you are using it as normal array type. to run code remove defined type from the definition of viewer3d.. below code will run, please check Sub CATMain() Dim...
  10. sachinTata

    I can't see anything in Sketch

    right click on the sketch ( from tree) and click Define in work object . may this will solve your problem.
  11. sachinTata

    Use selective instance in reuse pattern

    check attachmenthttp://files.engineering.com/getfile.aspx?folder=ae574f5f-4a1a-4431-9ec3-af9b4a0f349f&file=Untitled.png
  12. sachinTata

    Loading problem of product in the assembly

    Are you facing this issue in stand alone CATIA or with PLM integrated environment?? I have also faced the same issue in CATIA while working with TeamCenter(PLM) integrated environment
  13. sachinTata

    identification of blank part in an assembly

    hey itsmyjob, as per the requirement blank part means part without geometry or if geometry present then it must be in hidden mode. for eg, check below two file
  14. sachinTata

    Opening JT files from Team Center in CATIA

    its depends on what you are using for conversion. In my company we are using a customized application for converting JT into CATIA/CGR and it is working well in both case (part and assembly).
  15. sachinTata

    identification of blank part in an assembly

    i want to identify blank part in an assembly through macro. what i am doing now is checking hidden state of partbody, body and geometrical set. as well as searching geometry in the body, partbody and geometrical set ( if they are in unhide mode). Is there is any other way to check this...
  16. sachinTata

    CAASysCallBack.exe-System Error

    The Program can't Start beacuse JS0GROUP.dll is missing from you computer. Try reinstalling the program to fix this problem. Hi all... I am using CATIA V5R22 , Visual studio 2008 and CAA. I am compiling the one of the module (CAASysCallBack.m) available in the CAASystem.edu... After...
  17. sachinTata

    how to invoke a part from a Product by using VBA

    thank you very much ferdo
  18. sachinTata

    how to invoke a part from a Product by using VBA

    one more question... where can i find argument of startworkbench. like "PrtCfg" in above example. Unable to find the same in V5automation.chm file

Part and Inventory Search