Hello everybody,
In my product I want with macro to :
1- Select a Part with the mouse,
2- Apply a material on this Part.
This is my macro but it doesn't work very well.
Sub Main()
'Selection de la part
Dim MySelection
Dim MyDoc As Document
Dim MyPart As PartDocument
Dim MyProduct As...
Hi,
I've problems with my code. I want to measure with a macro the distance between two points. So I use GetMinimumDistance, and the function return me the value "0".
I don't understand because my 2 points aren't coincident at all.
This is my code:
Sub DistancePoint()
Dim TheSPAWorkbench...
Hi everybody,
I'm new in my firm and I have to create many macro VBA on Catia.
My first macro must be able to change the color of a fill in a geometrical set. For information I work in the Generative Shape design module.
Thanks a lot !
Bastien
Hello Mark,
I return now to my eight weeks of training. I worked a little bit about my problems of journal during my training. Do you know how I can extract maximum results with the function AskMaximum but only on groups of elements? Thank you in advance.
Bastien.
Mark,
Thank you for your answer, the program works correctly. I'm just trying to change to get the max stress in a group. I leave this evening for eight weeks training then I would resume the subject of journals on my return on November 7. Thank you very much for your help and soon.
Bastien.
Mark,
Thank you for your answers. Next week I leave for training for eight weeks. So I would work on the subject of journal on my return in early November.
Bastien.
Mark,
Can you take a look at my journal.
I want to extract the maximum stress of my loadcase with the function AskMaximum.
For the moment I'm able to extract only the max displacement. I try to change "Magnitude" by "VonMises" and change the number of "loadCaseIdx" and "iterationIdx", but...
Mark,
thank you for your very comprehensive answer. It helps me a lot.
Do you know how I can extract only the max value of a displacement, of a constraint or a rotation?
Regards. Bastien.
Mark,
I'm back from vacation. I have another question about the journals. Is it possible with a function to retrieve the name of the .sim file and the solution in which we work?
Regards,
Bastien.
Mark,
The program you sent me is working properly. I'm leaving tonight on vacation for two weeks.
Can you give me your email address to contact you when I return?
Thank you.
Bastien.
Mark,
I have others questions.
Is it possible to include a WindowsForm or equivalent in a journal ? I have find UI block styler but we have not the licence.
I want to create a graphical user interface. Is it possible?
Thank you very much.
Bastien.
Mark,
thanks you, it's work.
I work on journals in .sim files. I'm a beginner.
Have you some samples of journals to execute in .sim files?
Thanks.
Bastien.
Hi,
Is it possible in a journal to select some groups by them names?
I want to select groups whom the name begin by "post_" in a .sim file.
Thanks
Bastien
NX7.5.4.4
Hi,
I use NX7.5 to calculate stresses in parts.
I realise journals and i want to know how use the function "Next Iteration" in a journal ?
Thanks.
Bastien. Stress Engineer.