Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi Ferdo, Thank you for the code and comments as well! drewmumaw, Sorry, I was away for the weekend! I did get scale script working, what we do here is use the same scale on all sheets of the drawing so I wrote a simple script which updates all the scales in the drawing to the user...
  2. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, Thank you for the tip. I was able to write the code no problem. I've looked and I don't think we have a KWA license (under tools->general->Licenses KWA says "no license"). Do you know any other options to have it autorun without needing the KWA license?
  3. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi Fernando, I've glanced at it quickly but I think that will help. One thing I am strugling with though is the scales of the drawings. I thought I had it working in my previous script and it's not. The one thing I would like to do set all drawing sheets equal to the same scale so that if...
  4. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Now on to the next 2 tasks! 1. Creating a macro to modify page set up, add the parameters, and then put sheet 1 in if some doesn't start from the Start template! 2. Liinking Model Weights to the drawing!
  5. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, I see where I went wrong with my script for the table. I had drawingTables1.Item("Table.1") as opposed to drawingTables1.GetItem("Table.1")! Here is the final script, I modified it to remove and extra line that wasn't doing anything and then added script to return to the Main...
  6. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, Thank you for all your help! The script works perfectly but (always a but), I forgot to copy the revision block (it is a table). I thought I followed everything correctly but my script copying the table is timing out. Can you take a look? Language="VBSCRIPT" Sub CATMain()...
  7. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw Attached is the code below. I've got it to run to the point of creating the new sheet and adding all the text and everything but I am struggling with the pasting operation. For some reason it stops when it gets to that script. Language="VBSCRIPT" Sub CATMain() Dim...
  8. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, Once I get the code write, I will definitely upload it! The B SIZE SH2 FRAME.1 is the (for lack of better term, I will borrow from ACAD), the block or ditto that contains the the title block information. It's not a drawng view and doesn't show up in the drawing trea, but has...
  9. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, Thank you for you help, I've been able to work with what you have supplied and have been able to get almost everything done that I wanted to! I'm still struggling with the the title block portion of it thought. The macro that I have written thus far creates the new sheet and add...
  10. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi drewmumaw, Thank you for the repsonse. I'm trying to keep from "copying" the sheet as we use two different sheet frames. Sheet 1 has all the signatures and sheet 2 just has basic information (sheet number, drawing number, cage code and a revision table). There exists the possibility that...
  11. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    So after some careful playing I've gotten 1, 3 and 3 working but I am having trouble with 2 and 4 working properly. I have managed to get part of 4 working (it will tally up the number of sheets) but I have already defined the variable "TOTAL SHEET". I need help with getting the script working...
  12. Cbaktis

    Macro To Add Additional Sheets to a Drawing

    Hi All, I am very new to "macros" (it's been almost 12 years since I've played with VB scripting"). I am using a drawing template with 2 different sheet borders. I would like to write a macro that will do the following: 1. Add the new sheet 2. Add the new sheet frame (the frame is already...
  13. Cbaktis

    2D View Name Formats in Catia V5R20

    I've searched everywhere for this and found only have of what I need. I would like to modify the settings (somewhere) to only automatically create view names and scales for Detail, Projection, Auxillary and Section views on the 2D drafting side. I do no want view names and scales created when...

Part and Inventory Search

Top