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...
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)...
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...
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...
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...
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
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...
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
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...
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
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
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
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
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...
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...
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