Hi everybody,
I made a macro exporting data (drawingtexts) into a newly created excelsheet "wbk1"
I want to make a check with another workbook ("wbk2") to find if the text I exported in my "wbk1" exists in "wbk2".
I need to use the wbk2.usedrange.find(thetext,lookat:=XlWhole) method (because I...
Hello All,
If I make a selection of all the texts in a drawing, where can I find the views in which ones every text are located ?
something like
dim myselection as selection
set myselection = CATIA.activedocument.Selection 'with for exemple 2 texts selected in a drawingview
msgbox...
Hi everybody
I'm writing a new macro to check texts in drawings.
I want to get the visualproperties of each text of each distinc view of each distinct drawingsheet
And so far the only way of doing this was using selection.add but it's sooooooo long that I need your help to find a better way of...
Hi,
I am looking for a way to create an InertiaVolume in catia (see picture) using VBA.
Do you have any idea ?
I need it to be created in the part, I can't afford to just get the measure results.
Thanks
Hello everyone,
I have an issue with some computers running the same macro:
I create a collection to save selections.
then I want to use this collection to select the elements saved earlier in this collection (I can't do it by another way because I'm dealing with automatically generated...
Hi all,
I made a macro in which one I create Planar Sections (lot of them).
As the planar section creation is not scriptable (because it needs user to click on buttons) it creates the planar sections beginning from PlanarSection.1 and then 2,3,4,5,6...
But you would know that if there were...
Hello all,
I have an issue in a macro i'm making
I have various geometrical set all of them for different uses
in those Geometrical sets, I created some planar sections and then I want to rename them all "Planar Section.1" "Planar Section.2" "Planar Section.3"...
to create the planar sections...
Ok guys here is the problem, I'm trying to simplify my code to avoid unwanted mistakes to happen, because there are still problem using catia with the Sleep function(my computer sometimes is slow)
To simplify my code which is meant to create planar sections of an element using various planes, im...
Hi there ,
Just wanted to know if there was a way to automate the creation of a drawing view choosing the plane and not just playing with the parameters of the
drawingViewGenerativeBehavior1.DefineFrontView 0000,0000,0000,0000,0000,0000
...
because i tried to find the logic used to choose the...
Hi there !
I'm using an InputBox to search a plane in my Tree,
Problem is I don't want to do anything before I'm sure that plane exists
Is there a function or something to test if the Plane exists or not ?
thanks
hi everyone,
I wanted to know if it was possible to look for a planar section knowing its name and then use the selection as a reference in a rotation for exemple.
I mean for a rotation you need 2 references : something to move and an axis.
Is it possible to select something to move and make...
Hi everyone,
I'm trying to write a macro for Catia V5 R22 to automate the creation of several planar sections with DSE licence.
But I Can't find the command to do this, it seems like the only thing that I can do with macro is automate the creation of elements from Generative Shape Design...