Here's the code I use to remove leaders from balloons
Dim MyLeaders
Set MyLeaders = SelectedBalloon.Leaders
On Error Resume Next
MyLeaders.Remove (1)
'MsgBox Err.Number
End Sub
Looking for info on what icon code type I need to create for the drafting standard xml file. I want to create additional custom drafting symbols. Creating a catalog is not what I'm looking to do. I don't know what type of code is shown in the icon 16x16 or 22x22. Once I can identify it I can...
Looking for ideas as to why V5 would freeze after just trying to open the "Macros..." from the drop down menu. I.T. reinstalled VB on my laptop which allowed the macro gui and IDE to open, however, trying to point to a .catvba file would again freeze V5. Multiple known good files were tried.
Can someone point out what I've done wrong? The intent is to simply select a textbox and change all lowercase characters to uppercase.
Private Sub CommandButton41_Click()
On Error Resume Next
If InStr(CATIA.ActiveDocument.Name, ".CATDrawing") < 1 Then
MsgBox "Active file is not a CATDrawing!"...
I dug into my sheet standard .xml. There is a section for the field weld symbol, however, it only allows you to default it on or off when you initiate the weld command.
Is it possible to add attributes in the XML to control its text height? If that's possible, it might give you what you want...
Ive had a similar problem. I will be editing a sketch and all of a sudden, all the sketch geometry goes hidden. I've also had this happen with the solids in a catpart. The only way Ive found to get the solid/geometry to re-appear is to close the file and re-open it. I didn't experience the red...
Try CATDUAV5 to fix any potential errors on the file;
With the file open:
File >> Desk >> Right Click >> CATDUAV5 >> Clean >> Run
another thing to try:
Nvidea control panel >> Manage 3D Settings >> Program settings tab >> select CATIA and make it force to your RTX3050 GFX card.
I had an...
I've run into issues like this a lot over the years as my company upgrades or replaces hardware. Go to the Dassault website and find the list of certified drivers/equipment for CATIA. Using the newest driver isn't always the best idea...
Maybe?
Property CumulateMode( ) As boolean (Read Only)
Returns cumulate mode or not.
Example:
This example retrieves cumulate mode or not MyDimension drawing dimension.
oCumulateMode = MyDimension.CumulateMode
My thought is since your trying to insert the 2D component in the background, you have a active or red view in the working views. catia is probably considering that active view as non-editable or locked since its not in the sheet background. double click the the top item in the tree until all...
What do you mean by "but to make the User Pattern work, I need to move the sketch before the hole"? A user pattern is a transformation feature, it can't work unless the hole exists in the first place. I think you're trying to hatch a chicken before the egg has been extruded. It seems like you...
You may want to explore a different search parameter. I think ,scr will only search what visible on your screen as you are viewing it. in other words, if you are zoomed in on one area, only that little bit will be captured when the macro is run.
I experience terrible performance occasionally(slow loading, poor 3D visual quality,extremely slow response). I discovered V5 sometimes hooks to the integrated GPU in my laptop instead of the discrete GPU. I have V5 forced onto the quadro card in nvidea control panel. but you can see in the pic...
My code was completely wrong, but your suggestion gave me the clue i needed to make it work. thanks!
Dim drawingDocument1 As DrawingDocument
Set drawingDocument1 = CATIA.ActiveDocument
'Look for Front View Scale Value
Dim FrontView As CatDrawingViewType
Do
Dim n
n = n + 1
FrontView =...