Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Search results for query: *

  • Users: sri91
  • Order by date
  1. sri91

    lock views password

    Thank you very much little for your reply.
  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 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...
  5. sri91

    Set Font size and color in drawing table

    Hi Little, I am getting error for the below code.
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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
  11. 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
  12. sri91

    identify part or product document

    Thank you very much wolf. It is working. :-)
  13. 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...
  14. 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
  15. 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
  16. sri91

    enovia vpm search in catia

    Hello Little, Thanks a lot for your answer. Thanks Sri
  17. 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...
  18. 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
  19. sri91

    Catia/Smartteam

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

    Catia/Smartteam

    Get ID from CATIA.Windows.item().name Thanks Sri
Back
Top