Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS 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
  • Content: Threads
  • 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

    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...
  3. 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)...
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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...
  9. 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
  10. 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...
  11. 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
  12. sri91

    OverLoad Properties automation

    Hello All, how to automate overload properties with Win API. I have seen a thread that it can be done either with win API or CAA. I dont have CAA license. Please help. Thanks Sri
  13. sri91

    CATIA crash while running macro

    Hello All, Some of My users are complaining that, catia is getting stopped immediately when they click on the button run(Tools-Macros---In catvba click module). we open catia from vpm. I am not sure why this is happening. Did anybody faced the same issue? Thanks SURYASRI
  14. sri91

    How to edit Deployed VBA Macro

    Hello All, I have deployed some of the macros as vba projects in my company. Now I want to edit few lines of code in that. But as all the people are using that i can not edit that. Is there any way to over write it? Can any one help me in this. Thanks Sri
  15. sri91

    Hypermesh TCL customization

    Hello All, I am new to hyper-mesh and TCL. I think I can learn TCL. I want to customize hyper-mesh using tcl scripts. Is there any reference guide to learn. Please let me know how to proceed. Thanks sri
  16. sri91

    Catalog Browser through VBA

    Hello All, I am new to catia programming. I have to find out the angled view and place a symbol from the catalog. In the code what i have written it is giving the msgbox before it opens the catalog browser. If I keep break point it is working fine. Within that fraction of time it is not able...
  17. sri91

    Auxiliary view callout properties through VBA

    Hello All, By Default, I will get 2 arrows for auxiliary view callout. I want to change this to single arrow with some other properties to change through VBA. I am able to collect all the callouts(section, detail, auxiliary). How to identify only auxiliary view callout from this? and how to...
  18. sri91

    Identify Main view from Detail or Section through VBA

    Hi All, Can I identify the Main view from which section or Auxiliary or Detail view are taken through VBA. Please help me to solve this. Thanks SURYASRI
  19. sri91

    Delete scale in view name label through macro

    Hello Everyone, I am working o\in catia v5 with vba macros. Can I delete the scale in viewname label without breaking the link? Please help me. Thanks

Part and Inventory Search