AutoCAD Inventor :: Macro-command To Change Title Block In IDW

Feb 11, 2004

Is there any macro-command to do this :

"Open the .idw that you created your title block in. Locate and right click on your title block in "drawing resources". Select copy. Open the file that you want to put your title block in. Right click on "drawing resources" and paste your title block there. Now you will have to delete their title block and then activate yours. "

I want to change my drawing template and I have many to do and it must have somewhere somehow a way to do this automatically?

View 8 Replies


ADVERTISEMENT

AutoCAD Inventor :: Title Block Macro

Jun 13, 2013

Malfunctioning Title Block Macro in Inventor 2014? The script is attached. I think there is a problem with datums. I have switched to a new computer and installed Inventor 2014 on it. The macro worked with my old computer and Inventor 2013. This is a .ivb-file, not a .txt-file. Please change that before you test it.

View 8 Replies View Related

AutoCAD Inventor :: Change A Title Block?

Mar 26, 2013

Is there a way to change a title block? After finishing all the dimensioning and details I realized I used the wrong title block.

View 3 Replies View Related

AutoCAD Inventor :: Change Title Block Using Visual Basic

Jan 2, 2013

I am trying to change the title block of the active sheet using visual basic.  I realize this can be done using a snippet in iLogic, but I am creating an external .dll file using Visual Studio.

I have tried...

ThisDoc.Document.ActiveSheet.TitleBlock.Definition = "Title Block Name"

ThisDoc.Document.ActiveSheet.TitleBlock.Definition.Name = "Title Block Name" (This changes the name of the title block in the browser but doesnt swap it out.)

Call ThisDoc.Document.ActiveSheet.TitleBlock.Definition("Title Block Name")

View 2 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Title Block

Apr 23, 2013

I create a thread here: and I have most of what I require, but for some reason I can't iLogic to swap my title blocks within my drawing template.

View 3 Replies View Related

AutoCAD Inventor :: Title Block Text Size Change Does Not Work

Mar 20, 2013

I have tried to change the size of the text in the title block and in other places within a drawing, but the changes are ignored. They always come back to Tahoma 0.120"

Is this a bug in the program?

Inventor 2013 with the latest service packs, etc.

I really need to make some changes to the title block and making the text smaller is one of them.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Automatic Change Of Drawing Title Block?

Nov 13, 2013

I am currently working with fx parameters and iLogic to drive a model and it's corresponding drawing to change based on a single user parameter.

I have managed to get the drawing to update both the scale of the views I need and the size of the sheet with the change in parameter using the following rule:
 
IfParameter("EB75551.ipt.Rise")<1801Then
ActiveSheet.ChangeSize("A1", MoveBorderItems :=True)
ElseIfParameter("EB75551.ipt.Rise")>1800Then
ActiveSheet.ChangeSize("A2", MoveBorderItems :=True)
EndIf

However when i attempt to use this with the title block using the function:

ActiveSheet.TitleBlock="My Title Block"
in place of the sheet change size it brings up the error message:

Error in rule: Drawing Title Block, in document: Drawing

The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I have read elsewhere that this is due to me having prompted entries for the scale and drawn by fields, however when i use the function designed for prompted entries: ActiveSheet.SetTitleBlock("Other Title Block", "promptedEntry1", "promptedEntry2")
It fills in the prompted entry fields from the code and if i change these entries in the "edit field" option they are overwritten when it is updated.

Is there a way have the prompted entries when you open the drawing fill in the "promptedEntry1" field in the rule so that I can use the rule? Or am I going about it the wrong way?

I should point out i'm new to iLogic and no-one in my workplace can use it so each person changing the "promptedEntry1" field to the scale they wish isn't a wise move.

View 2 Replies View Related

AutoCAD Inventor :: Read / Change Prompted Entry Through Code From Title Block

Aug 27, 2013

How could I read / change prompted entry through code from title block (for example DIN) within VB.Net?

View 3 Replies View Related

AutoCad :: Command To Fit Title Block To A Drawing In Layout?

Nov 30, 2013

Is there any command to fit or re-size a title block to A drawing in the layout?

View 4 Replies View Related

AutoCAD Inventor :: Retaining Title Block Prompted Entries When Changing Title Blocks

Apr 26, 2013

The title blocks that we use have prompted entries in them and I would like to find a way using iLogic to copy the entries from one title block to another within the same drawing; i.e.. if the user decides to change from an A2 to A1 drawing.

I already have an iLogic rule which allows the user to change the active border, title block and sheet size based on a form selection but would like it to capture the prompted entries already entered and re-use them after the change.

View 9 Replies View Related

AutoCad :: Title Block Change From A4 To A3

Jun 3, 2011

i have a title block in the layout tab which i use for all new docs. when starting a new drawing i open my old one, delete the drawings and save it with a new name - this way i always have my title block how i want it in the Layout 1 tab. this has worked for me so far. but now I need to create an A3 print out.

i have created the picture that i need in modelspace but when i click in the viewport within the layout and select the scale that I have been asked to use, the pic becomes too big for the page.

when i go into page setup i can select a3 and preview this but it just shows my a4 page in the middle of an a3 page. so how to i make the titleblock and viewport bigger (to fit a3)?

View 3 Replies View Related

AutoCad 2D :: How To Change Border And Title Block Colour

May 15, 2013

We have decided to have a company re-brand.

This involves a New Logo and slight colour change!!!

We have booklets with up to 30 layout tabs in each one.

Is there a quick way to change the border and title block colour on all these layouts rather than have to do a quick select on each tab!!

View 4 Replies View Related

AutoCAD Inventor :: Macro / Keyboard Command For Exporting IDW To DXF?

Oct 26, 2012

I have keyboard commands set up for exporting my .idw drawings to .pdf format (PD for me.) I would also like to set this up for exporting my drawing to .dxf format. I think this can be done with a macro that can be activated by a keyboard command, but I could be wrong. I don't want to do this with an iLogic.

View 6 Replies View Related

AutoCAD Inventor :: Prevent User To Start Other Command While Executing A Macro

Feb 21, 2013

I have a macro that automatically creates a Detailed view on a sheet. It works on 2 input's:

- mouse click 1 (set's the target to be detailed)

- mouse click 2 (set's the location where the balloon should be)

The code works fine. But sometimes the user will start another command, or restart the same command, while it is still running. This off course gives all kinds of problems.

Is there a possibility in VBA to prevent the user to start another command while this command is running?Or is this problem a part of the clicking itself?

Here is my (it uses a Class Module called: clsGetPoint, see code below)
Sub AutoDetailedView() On Error GoTo ErrorManagment '(error handling 2013/02/18) 'step 0 Create a transaction. -> for 1 undo command Dim oTransMgr As TransactionManager Set oTransMgr = ThisApplication.TransactionManager Dim oTrans As Transaction Set oTrans = oTransMgr.StartTransaction(ThisApplication.ActiveDocument, "AutoDetailedView") 'step 1 Select a drawingView 'Set a reference to the drawing document. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet.
[code].....

View 5 Replies View Related

AutoCAD Inventor :: Create Macro To Get Constraint Rec Block In Sketch

Jan 16, 2013

I am using inv2011. I have to create rec. blocks very often and in inv2011 . I have to constraint it in middle.

Can i write a Macto that gives me constraint rec block in sketch. This feature already available in Inv12.

View 5 Replies View Related

AutoCad :: Block Properties Change With Array Command

Mar 7, 2013

Im a user of Autocad 2012 but in the new array command of autocad 2012 , when a block is arrayed the entire array acts as one unit and all the objects in it move together . This can be changed by exploding the arrayed objects and i can move the objects individually but when this is done my block properties are lost...Auto cad renames this block and no longer identifies as my old block.

How can i retain my block properties whilst using the array command in autocad 2012!

View 1 Replies View Related

AutoCAD Inventor :: New Title Block In Old Drawings?

Oct 22, 2013

I have done a new Title Block in our drawing templates.

It only works in New drawings if I open an old drawing I must "Copy/paste" the new Title Block into the browser to the left But I want all our old drawings to use the new Title Block.

Is there a way to have the new Title as default on all old drawings?

View 3 Replies View Related

AutoCAD Inventor :: Customizing The Title Block?

Jun 14, 2012

How can I customize the title block where it says Drawn, Checked and approved?

I want the dates with initials to place automatically. However, I want the date of approval and checked to be 2-5 days after the drawn date. (using Inventor pro. 2012)

View 1 Replies View Related

AutoCAD Inventor :: Replace Title Block C#

Oct 2, 2013

I am trying to replace the title block of the first sheet of the active drawing via C#. I currently am receiving the following error on the last line of The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).

Why the code below is throwing this error? I have tried multiple variations of the code below to no avail and I'm sure this is something minor that I am overlooking. The title block definition under Drawing Resources is replaced with no errors, the title block on Sheet 1 is deleted just fine, but I can't seem to add a Title Block back in!

How Documents are defined:

Inventor._DrawingDocument oDoc = getDoc();Inventor.DrawingDocument sourceDoc =(Drawing Document) instance.Documents. OpenWith Options(sPath, options, false); Find, copy, replace: TitleBlockDefinition tBlock = sourceDoc.TitleBlockDefinitions[blockList.SelectedItem.ToString()]; TitleBlockDefinition newBlock = tBlock.CopyTo(oDoc, true); oDoc.Sheets[1].TitleBlock.Delete(); oDoc.Sheets[1].AddTitleBlock(newBlock);

View 1 Replies View Related

AutoCAD Inventor :: Weight In BOM / Title Block

Apr 20, 2012

I am trying to include the weight for all components in assembly BOM as well as calculated overall weight in TB, but there are no available property to choose from in the drop-down list.

View 2 Replies View Related

AutoCAD Inventor :: Get Parameter Into Title Block?

Apr 10, 2013

I've created the user parameters and they get the information I need by the rules in illogic and also added as custom properties, but when I try to put them on the title block they don't retrieve the information.

View 9 Replies View Related

AutoCAD Inventor :: Get Parameter Into Title Block (CF)

Apr 10, 2013

I've created the user parameters and they get the information I need by the rules in illogic and also added as custom properties, but when I try to put them on the title block they don't retrieve the information.

View 1 Replies View Related

AutoCAD Inventor :: Mass In Title Block

Nov 26, 2012

I have added the mass properties and I do not want the lbmass behind it. How do I get rid of it?

View 5 Replies View Related

AutoCAD Inventor :: Custom Title Block

Mar 28, 2013

I have a cutom title block that automaticly places material, status, stock number etc. of the component in the drawing sheet, but I am stumped as to placing the quantity automatically. I have defaulted to using a prompted entry, but that is prone to errors.

View 9 Replies View Related

AutoCAD Inventor :: Title Block Reference?

Apr 5, 2012

I have text in my title block that references part properties. If I have several different part and assembly base views on a sheet, how do I control which one the title block references? It defaults to the first one that was placed. I am using 2011 Pro.

View 1 Replies View Related

AutoCAD Inventor :: Drawing Add In Title Block?

Jan 22, 2013

Is there an add in or something for faster type in the title block in a drawing? Name, title etc?

 Right now the author and date are automatically  but when i save the file to for example to "D1234 hammer" it becomes the part number.

I have to edit the title.

I want to save the file to "D1234 hammer" and the partnumber to be "D1234" and title "hammer".

IS there a add-in that I type the title and name and its auto fill the title block? Or do I have to create a custom title block so the drawing can understand to only to take the numbers from <part name> and the letters becomes <title>?

View 3 Replies View Related

AutoCAD Inventor :: How To Get New Title Block Into Old Drawing

Aug 17, 2012

We are going to be making a new title block and I have been looking at ways to get the new title block into the old drawings.  It looks like the Inventor Drawing and Resource Wizard is the way to go.

The steps seem pretty straight forward and simple but I am not getting the correct results.  For the source drawing I select my new title block and leave the boxes for borders, my new title block name, and sketched symbols checked.  I then pick my drawing I want to get the new title block in.  On the last step I can select Yes or No and get the same results.  When I reopen Inventor and the drawing it still has the old title block in it.

View 4 Replies View Related

AutoCAD Inventor :: Two Different Border And Title Block Colors

Feb 5, 2013

I use two different measuring system IMPERIAL and METRIC.

What I want is to be able tell at a glance, by having different color border and Title-block Text  is which one of the system of units I'm using

So what I'm wanting to do is create a Metric Sheet template with on color, Border, Title Block Text and a different color for the Imperial.

I've tried changing the color using the Style Center but that affects both templates, I've tried editing the title-block text saving the template but on opening it has changed back to the defaults set in the style settings and dose not hold those that I set.

What I don't what to be doing is changing them after opening, as at some stage I'll forget.

View 3 Replies View Related

AutoCAD Inventor :: Title Block - Copyright Year

Sep 28, 2012

So, I am trying to add a copyright year to a title block in a drawing template file used through out my company. I want to base the year off of the creation date property - I am trying to find a way to truncate this property such that only the year is displayed. Ideally, any time the creation date property is changed, the copyright year will also update.

We are currently running Inventor 2010.Normally, I would just write an iLogic rule with an event trigger, but this would require everyone to install the iLogic addin which just won't happen.

Even easier, I could make a custom iProperty and just have people manually type in the year when they start a new drawing - this will be worst case scenario as a ton of people will forget and I'll just make more work for myself.I also have VBA code which is pretty simple:

Public Sub SetYear()
Dim oDoc As Document    
Set oDoc = ThisApplication.ActiveDocument      
Dim customPropSet, customPropSet2 As PropertySet    
Set customPropSet2 = oDoc.PropertySets.Item("Design Tracking Properties")    
   
[code]....

The issue would be getting this VBA code to trigger and to "stick" to the template file.I can just as easily write this code in VB.NET or C#, and go through the hassle of creating an add-in, but again, how would I get it to trigger and stick to the template file.

View 3 Replies View Related

AutoCAD Inventor :: Customize Title Block Created In IDW

Jun 26, 2013

I have a customized title block that I created in an idw.  I want to make that block available for all drawings for different projects.  How do I do that?

View 3 Replies View Related

AutoCAD Inventor :: ILogic Title Block Customization

Jun 26, 2013

Earlier I`ve used a simple code from Rob Cohee to update the title blocks and it works like a charm, however, now I would like to try to kick it up a notch.

If (ThisDrawing.ModelDocument Is Nothing) Then ReturnmodelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)iProperties.Value("Project", "Part Number") = iProperties.Value(modelName, "Project", "Part Number")iProperties.Value("Custom", "Client") = iProperties.Value(modelName, "Custom", "Client")

I`m working with several similar projects where the Inventor models and IDW`s is copied from one project to another. A typical project can consist of 50-75 drawings and the only properties needed to change is Client, project number and drawing number (consisting of the project number and a suffix, ex 123456789-125).

I would like to try to make an .ini file with these 3 properties in the root of the project folder so they can be changed and updated easily.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved