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