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

  • Users: sri91
  • Order by date
  1. sri91

    CD5 Templates

    Hi Everyone, Did anyone know about the below things?? ENOCD5Interfaces CD5TemplateType (Object) CD5TemplateType (Object) System.IUnknown System.IDispatch System.CATBaseUnknown System.CATBaseDispatch System.AnyObject CD5TemplateType Represents a Template Type. Properties on...
  2. sri91

    lock views password

    Thank you very much little for your reply.
  3. sri91

    lock views password

    Hi Everyone, I have a template(CATDrawing) which is used for a vba macro. Before giving to the user i want to lock it so that no one can manipulate it. Is there any options to lock all the views in the .CATDrawing file with password? Or any other way to do it? Thanks in Advance...
  4. sri91

    Leader target as view

    Hi Everyone, I have created balloon and leader through vba. Now I want to set the leader to be pointed to the corresponding view. Please let me know whether it is possible or not? If possible, how to set it. Set myLeader = myText.Leaders.Add(xVal - 600, 2660)...
  5. sri91

    Set Font size and color in drawing table

    Hi Little, I am getting error for the below code. currText.TextProperties.Font 0, 0, 0.095 In the UI in catia text properties are in inches like 0.095, 0.075, 1.2 inch etc... Please check the attached picture for the UI. Please do the needful help. Thanks...
  6. sri91

    Set Font size and color in drawing table

    Hi Little, I am getting error for the below code.
  7. sri91

    Set Font size and color in drawing table

    Hi Little, Even though I have given the update, it is not setting the font size. Still it is changing to zero only. Please help. drwTbls(drwTblNum).SetCellString rowCount, 5, Right(wrksht.Cells(j, 2), 5) drwTbls(drwTblNum).SetCellAlignment rowCount, 5, CatTableMiddleCenter...
  8. sri91

    Set Font size and color in drawing table

    Hi Everyone, I am trying to set the parameters 'Font size' and 'color' in the texts of a drawing table. I am using the below code. What ever the text size I give, it is taking zero(0). Can you please suggest me. drwTbls(drwTblNum).SetCellString rowCount, 2...
  9. sri91

    get data in VPM Navigator

    Hi, Is there any API to get the data of a assembly when it is opening in VPM Navigator workbench. The below code i got when I record. Sub CATMain() Dim settingControllers1 As SettingControllers Set settingControllers1 = CATIA.SettingControllers Dim languageSheetSettingAtt1 As...
  10. sri91

    Get part data in a different workbench

    Hi, Big assemblies are taking time to open. So our team is opening the main node just as a structure. It is a workbench called 'Workbench to navigate VPM Search'. Is there any chance to get the details(part number, description etc.) of the parts in this mode. Any help in this is...
  11. sri91

    VBA/CATScript

    Thanks for your reply Little. Any suggestion how to learn CAA and where to learn. What is the future if we learn CAA. Please provide some suggestions. Thanks SURYASRI
  12. sri91

    VBA/CATScript

    Hi All, I want to get the details of the parts in 'Enovia'. Is there any way to use VBA Macro. If incase any tool reference to be added, Please guide me. Any help in this is appreciated. Thanks SURYASRI
  13. sri91

    identify part or product document

    Thank you very much wolf. It is working. :-)
  14. sri91

    identify part or product document

    Hi All, Can anyone please let me know vba code to identify part or product in cgr mode(the assembly is not in design mode)? The below code will work if the product is only in design mode. TypeName(mainProd.ReferenceProduct.Parent) = "PartDocument" I dont want to open the assembly in...
  15. sri91

    Hello All, What ever the color

    Hello Little, Thanks for the answer. I have taken the color codes from google. I have given 32 and 5 also. For both the values it is changing to Black only. Please help me. Thanks Sri
  16. sri91

    Hello All, What ever the color

    Hello All, What ever the color code i am using for the sub string in a drawing text, it is changing to black color. Can any one help me in solving this. The below is the code. Thanks in advance. DrawingText.setparameteronsubstring catcolor, starting position, length, ival Thanks Sri
  17. sri91

    enovia vpm search in catia

    Hello Little, Thanks a lot for your answer. Thanks Sri
  18. sri91

    enovia vpm search in catia

    Hello All, I am trying to login to connect in catia v5. i am using the below code for that Dim oEngine as CD5Engine Set oEngine = CATIA.GetItem("CD5Engine") In i am getting unknown module error. I am not sure what is the corresponding reference library for that. Please help me in knowing...
  19. sri91

    AssociateElement API for text not working.

    Hello All, This method is not working for the 2D Component. Why Dassault is not fixing this bug. mytext.AssociativeElement = comp1 Thanks Sri
  20. sri91

    Catia/Smartteam

    How you are getting the string? Is it selection.item().name?

Part and Inventory Search