You could create your own: "Open a Mooseman Part" VBA code that would check if a chosen part requires a feeder document, and if so, first open the feeder document, then open the part. I've done something similar with DXF parts to record a Path for automatically clicking a "SaveDXF" function...
I avoided answering the possibility of adding additional sets because I'm just uncertain about it. You don't know what you don't know.
But I've never seen an option to do that. That I can say with certainty.
Maybe you could explain what you are trying to achieve? If you are trying to have different sets of annotations show up at different times, then you can create different Captures within the Annotation Set. Each Capture is a view with a particular view angle and distance along with different...
Ok. So it appears I was over-eager. Is there no way to create points in a sketch through VBA by creating evenly spaced points along a line, circle, nurb, etc?
Thank you, fedro! That gave me a very good idea.
My box can be slightly large if needed without causing me any issue. So I will create equally spaced construction points on all curves of maybe 0.05" spacing, then take the max/min X and max/min Y of each point. Then create a box around...
Yes, thank you DBezaire. I do have that script. It is a part of the CATIA Portable Script Center from Fedro. But in order to use that for my sketch, I would have to Sweep the Sketch and create an Axis System in the orientation of the Sweep, and then delete all of that to get my data, and then...
We would find a significant loss of functionality immediately because too many of our customers apparently upgrade company-wide immediately upon the release of a new version of CATIA V5. If it wasn't for needing access of those documents, we wouldn't need the actual "improvements". I've always...
I'm now at the point I often run into with CATIA VBA. I know what I want to do. I've spent hours looking for the tools in forums and in the help files, that I need to get it done. And I end up getting nowhere.
I want to make a Macro that creates a Bounding Rectangle with the default axis...
I was wrong. The above formula was my estimation of what happens when you just keep going through a Cycle of "Open-Save-Open-Save"...etc. In other words, it is not a formula for correction, only an analysis for what appears to happen.
After much more research, I developed the code which seems...
SOLVED.
Apparently CATIA.DisplayRefresh does not work well when run from the Customized Buttons on the Toolbars. I removed all mentions of that call from anywhere in my scripts and things began working smoothly.
It's hard to understand how my video card (Nvidia Quatro 4000) cannot keep up with a 2D DXF file opening too quickly.
And why would that be influenced by running the script from a Customized Button on a Toolbar, and not influenced by when I run the script from running it from the Visual Basic...
For R23, using Monospac821 in inches:
I've done a preliminary analysis of the magnitude of each move against the font size. Roughly, for font sizes between 3.5 and 254, the formula looks to be around:
.0003 fontsize^3 - 0.0108 fontsize^2 + 0.1738 fontsize - 0.5317.
Corrections of that...
Ok. This gets "curiouser and curiouser". The problem does not get duplicated when I run the script by putting the curser in the code and hitting F5. But it gets repeated about 90%+ of the time when I click the Customized button I've set up on the Toolbar to run the program. I wonder why that...
Attached is a picture of what I mean by "greyed out windows".http://files.engineering.com/getfile.aspx?folder=7b89702c-02f5-46cf-8476-6024f8f7a326&file=CATIA_V5_2015-01-16_10-27-35.png
I am suddenly having a bazaar issue. I have written a script which opens particular DXF files in a manner that I want to have them opened. But some change I recently made has caused many of the windows for the files to open in a greyed-out manner with nothing visible in the drawing.
Debugging...
We have an issue where every time we open a DXF file with CATIA and then re-save the file, the text always drifts upward slightly (in whatever orientation the text is in -- upside down text drifts downward). So if you open and close the same DXF file many times, saving each time, you will have...