Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 2briancox

    Creating a Popup message on opening a CATPart

    I would say that there is plenty of code here in the forum for managing file opening through VBA. Try searching "Open part vba" in this forum.
  2. 2briancox

    Creating a Popup message on opening a CATPart

    Unfortunately, no I cannot. I developed it for work, so it is proprietary.
  3. 2briancox

    draft analysis

    So, that's V6, right? Because that looks very different than what I have (V5 R23).
  4. 2briancox

    Creating a Popup message on opening a CATPart

    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...
  5. 2briancox

    Catia Annotation Set - More than one?

    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.
  6. 2briancox

    Catia Annotation Set - More than one?

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

    CATIA Sketch 2D "Bounding Rectangle"

    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?
  8. 2briancox

    CATIA Sketch 2D "Bounding Rectangle"

    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...
  9. 2briancox

    CATIA Sketch 2D "Bounding Rectangle"

    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...
  10. 2briancox

    License Charge Options

    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...
  11. 2briancox

    CATIA Sketch 2D "Bounding Rectangle"

    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...
  12. 2briancox

    DXF text moves with each save

    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...
  13. 2briancox

    Is VBA too fast? Greyed out Drawing Windows

    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.
  14. 2briancox

    Is VBA too fast? Greyed out Drawing Windows

    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...
  15. 2briancox

    DXF text moves with each save

    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...
  16. 2briancox

    Is VBA too fast? Greyed out Drawing Windows

    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...
  17. 2briancox

    Is VBA too fast? Greyed out Drawing Windows

    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
  18. 2briancox

    Is VBA too fast? Greyed out Drawing Windows

    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...
  19. 2briancox

    DXF text moves with each save

    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...
  20. 2briancox

    CATScript/VBA for Sketch Analysis

    Scratch that. I was trying to search for, then copy-paste all of the geometry. I switched to copy-paste the view, and it all worked out fine. SOLVED!
Back
Top