AutoCAD Inventor :: Update Idw Title Blocks From Template File With ILogic

Jun 6, 2013

I am trying to create an iLogic (or VB) rule to update an active drawing title blocks from our Template File.I don't want to use any of the external software (Transfer Wizard etc), we just need a simple rule that will update the title blocks when we need to.

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Unable To Update Title In IDW

Mar 29, 2012

I have an ilogic assembly that I change to different widths. And I want ilogic to put the part number into the title block according to the size of the assembly.

What I have works but won't update on its own. I have to open the ilogic rule and close it, then open the i properties of the idw and close before it will update.

View 3 Replies View Related

AutoCAD Inventor :: How To Update Drawing Template With ILogic

Oct 8, 2013

I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,

currently m using this method.

What is the solution for updating drawing template (like Model Description, Drawing no.).

View 3 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Title Blocks?

Apr 23, 2013

I can't for some reason get this rule to work, simply want to be able to choose what title block to use.

I created a text parameter with the multi-values: TES ELE and TES EQU

I have 2 title blocks in my template called TES ELE and TES EQU

Here is my code, basically, I want to rule to apply the title block based on the selection, which will be done on a form.

If Title = "TES ELE" ThenActiveSheet.TitleBlock = "TES ELE"ElseIf Title = "TES EQU" ThenActiveSheet.TitleBlock = "TES EQU"End IfInventorVb.DocumentUpdate()ThisApplication.ActiveView.Fit

I have found many threads in this forum and have used their solutions for this rule, but for some reason, my rule will not select the title block and place it in the drawing.

Here is a snap of my set-up and my template file is attached

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 9 Replies View Related

AutoCAD Inventor :: ILogic Error (changing Sheet Border And Title Blocks)

Jun 18, 2012

I'm having an error with Ilogic parameters.I just wanna change the border and the title blocks with Ilogic. This should be simple. Isn't this?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Error Cannot Find Excel File After Saving File As Template

Dec 6, 2012

I'm linking an excel file to an .ipt file with iLogic code determining if the Material type is a certian value it will find the correct material thickness. These file work great when working on them thru Vault but when I "Save As Template" and create this file where our other template files are located (not Vault) this fuction does not work. I have realized that I had to place the a copy of the excel file in the same file folder as the template ipt, but even this does not fix the issue. 

I recieve this error:

Error in rule: Material, in document: Part6

'MWW Materials (Inventor).xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.

If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.

It seems completly countintutive that just saving the file as a template file would cause this not to work when all files that are required are located in the same file folder. Maybe I need a reference to the excel document within the iLogic code.

View 3 Replies View Related

AutoCAD Inventor :: VBA Replace Title Block Definitions In Drawing From Template File

May 7, 2013

I have some code to replace the current title block with a title block from a template file. I just don't like how it adds a new title block definition named "copy of titleblock". I'd like to delete or replace the current title block definition so only the newly added one is listed.

 Sub test() Dim odrawdoc As DrawingDocument Set odrawdoc = ThisApplication.ActiveDocument If (odrawdoc.DocumentType <> kDrawingDocumentObject) Then Exit Sub Dim oTemplate As DrawingDocument Dim oSourceTitleBlockDef As TitleBlockDefinition Dim oNewTitleBlockDef As TitleBlockDefinition Dim oSheet As Sheet Set oTemplate = ThisApplication.Documents.Open(ThisApplication.FileOptions.TemplatesPath & "template.idw", False) Set oSourceTitleBlockDef = oTemplate.ActiveSheet.TitleBlock.Definition Set oNewTitleBlockDef = oSourceTitleBlockDef.CopyTo(odrawdoc) ' Iterate through the sheets. For Each oSheet In odrawdoc.Sheets oSheet.Activate oSheet.TitleBlock.Delete Call oSheet.AddTitleBlock(oNewTitleBlockDef) Next oTemplate.CloseEnd Sub

 I'm just being picky at this point, but I don't want a buildup of title block definitions. We reuse drawings all the time which is why a simple method of updating a title block would be nice. I can just imagine in some years time after a title block update or two there are 20 "copy of copy of copy of .................. titleblock" listed in a drawing file.

View 8 Replies View Related

AutoCAD Inventor :: Updating Multiple IDW File Title Blocks Externally

Jan 18, 2012

I am trying to update the text in the idw title block externally via excel or ilogic. I know of the iproperty of the part or the iam and that being able to be incorporated in the idw title block. But is there any way of linking an excel file to the idw so once the excel file is changed it updates all the idw title blocks it references?

View 2 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 Inventor :: Update Old To New IDW Template

Feb 12, 2013

Made some minor changes / updates to our .idw template and would like to update previous .idw's to the new template.  Can this be done automatically?  Is this done in styles?  

I have opened previous .idw's and checked for updates in styles and none are shown.  The changes/updates are to the title block and revision table.  New drawings open with the new template changes, but we would like those changes to any previous drawings as well.

View 2 Replies View Related

AutoCAD Inventor :: Edit Title Block Template Error?

Nov 21, 2012

I just recently received error from one of our customers regarding this kind of error (see attachment).

They are trying to reuse their own customized template to other PCs, they are copying these files to the template folder of Inventor. This method is successfully done in all of their pcs except for the two.

View 3 Replies View Related

AutoCAD Inventor :: Shifting Location Of Template Border And Title Block

Jun 26, 2012

We want to use our AutoCAD company standard templates within Inventor. I’ve followed the procedures to accomplish this under the heading:

Create a .dwg template in Autodesk Inventor from an AutoCAD .dwg template

This works without any problems.  Inventor is able to recognize the size of our template border (20.75” x 33”) and correctly selects a sheet format of 24” x 36”.  The template border is centered on the 24” x 36” sheet just as we would like it (see attached).

The template is used to create a new Inventor .dwg, and base views are placed and annotated.  No problems, everything looks good.  The new drawing is saved and Vaulted.  However, at some point Inventor "shifts" the location of the template on the 24” x 36” sheet format (see attached).  This action is unpredictable.  The drawing might be checked-out and checked-in several times before the “shift” happens.  When it does we have to re-locate the views and other text annotation to suit the new title block & border location.

How can we lock the position of the template border & title block?  (Should be noted that we need to keep our template positioned such that the bottom left corner is at 0,0,0 when it is opened in AutoCAD.)

Inventor RS 2011
AutoCAD Mechanical 2011
ASD 2013
Vault Collaboration 2011
Windows 7 Pro

View 4 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

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 2013 :: Creating Template File For Extracting Information From Blocks?

Jul 7, 2012

i want to know how to create template file right from scratch and which format I should use to extract information from blocks and its attributes.

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Specific Column In Excel Template?

Apr 30, 2012

i want to export my part list with ilogic in a excel template but dont want all the part list column and dont erase the column i skip in excel?

View 3 Replies View Related

AutoCAD Inventor :: Suitable ILogic Functions For Part Template?

Oct 4, 2011

I am working on creating a new part file Template. Any useful and productive iLogic functions those are already available.

A while ago, I had seen one that would simply triger when part was checked in or saved. It would check if the material feild was utilzed or forgotten at Default.

share if there are any good iLogic functions that we might benefit from.
 
C1
Inventor Professional 2013
Vault Collaboration 2013

View 2 Replies View Related

AutoCAD Inventor :: ILogic Copy Of Sketched Symbol From Template To IDW

Dec 8, 2013

I want to have a template IDW containing sketched symbols representing various possible drawing status stamps; when the drawing is ready for publish I want to run a rule which allows selection of one stamp for insertion on the drawing.  how to copy the symbol from the one drawing to the other.  Here is my non working

'Query stamp insertion requirementquestion = MessageBox.Show("Do you want to insert a stamp?", "Stamp Requirement",MessageBoxButtons.YesNo,MessageBoxIcon.Question)If question = vbYes ThenDim strSelectedStamp As String = "Result2"Dim strStampList As New ArrayListstrStampRequired = TruestrStampList.Add("F&C Stamp Round")strStampList.Add("As-Built Stamp.
[code]..

I get a 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' error. 

View 7 Replies View Related

AutoCAD Inventor :: Importing Title Blocks From Other IDW?

Mar 14, 2011

Right now I'm copying it from one file to the other... but I'm sure there is some other way. Are title blocks saved anywhere other than embebed in the file? Autodesk Product Design Suite 2012 Ultimate Autodesk Developer Network [URL]

View 9 Replies View Related

AutoCAD Inventor :: Physical Update Using ILogic?

Oct 12, 2011

Currently I am using I-logic and a form.  I have an assembly that I am pushing a volume from a part to the main assembly.  The volume updates in the part fine.  The issue is with the form is not updating when the file parameter updates.  If I exit the form and run the rule manually then the form updates.  how to update the form at the same time?

View 1 Replies View Related

AutoCAD Inventor :: ILogic Update Form

Sep 13, 2013

I´m having a bit of an issue with a form.

I have a global form which is exactly made for a specific assembly for configuration of this very assembly. To make things easier for the user I call another external rule which only opens exactly this assembly.

Now when the user opens the form the assembly is not open and obviously can´t reference the used parameters.

Even after loading the assembly the parameters are not available, which results in something like this:

So this is a really simple question, is there a way to update a form so that it rereads the parameters from the assembly?

What I tried is using iLogicForm.CloseGlobal("Name of form") to no availability and then open it again with iLogicForm.ShowGlobal("Name of form").

But I couldn´t find any further info on the iLogicForm Commands.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Update Styles On DWG

Dec 21, 2011

I am after a way of accessing the update styles on dwg so that I can run with rule below as most of our drawing stds have changed and old dwgs need updating the work flow is as follows.

 I need to access manage tab then update styles,then yes to all,OKUpdate all sheetsfind all parts list within all sheet and then annotate , style on format tab and then select Parts list - this will change all my old parts list to current style definition.Either run at begining of code below or run as seperate code

On Error Resume NextDim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocumentDim Sheet As Inventor.SheetDim Cursheet As String Cursheet = oDrawDoc.ActiveSheet.Name For Each oSheet In oDrawDoc.Sheets oSheet.ActivateDim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)If Not oPartsList Is Nothing Then Resume Next'Call oPartsList.Sort("ITEM")Call oPartsList.Sort("PART NUMBER", 1, "DESCRIPTION", 1, "QTY", 1)iLogicVb.UpdateWhenDone = TrueActiveSheet = ThisDrawing.Sheet("Sheet:1")ThisApplication.ActiveView.FitEnd If Next

View 4 Replies View Related

AutoCAD Inventor :: Put Immediate Update Box On Ilogic Form

Aug 17, 2012

I am trying to put an immediate update box on my form in ilogic.  I want to be able to change parameters on my form without updating the model.  There is this option in the parameters window but not in the form.  How can I accomplish this?

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Update Some Prints

Jul 28, 2012

I am new to the ilogic. I am wanting to use ilogic to update some prints as needed.

 I need to create and external rule to:

1) migrate the drawing to the lastest inventor version (2012),

2) copy all drawing resources (borders, title blocks, and sketched symbols) from a template file (.idw),

3) replace the title block and border with specified block and border. 

View 9 Replies View Related

AutoCAD Inventor :: IProperties And ILogic - Transfer Custom Title To Drawing

Oct 26, 2012

I have a form that is loading automatically in my part model. where i write the part number, description, project and custom titles.

my questions are:

1 - when i write the part number i would like then when i click apply it opens the save box with the same part number.
2 - it's possible to check-in the file during the saving and keeping the file checkout?
3 -  i would like that some of the properties would be transfer to the drawing, like the description and the project (this two are from the part properties.
4 - transfer also for the drawing the custom titles to the custom i properties of the drawing as pre fill in.

View 1 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 :: Insert Two Title Blocks In IDW Drawings

Aug 22, 2013

I need to insert two different (separate) title blocks into my idw drawings so both show on the drawing.  One is the real Title block, and one is a Revision History block.  I have listed them as Title blocks under Drawing Resources, but Inventor won't allow me to insert both. Is there any way round this?

I do not want the Revision History block as a Symbol.

Inventor 2011; MS Windows 7-64; i5-2500; 8Gb; GF550Ti.

View 9 Replies View Related

AutoCAD Inventor :: Drawing Templates And Title Blocks

Apr 15, 2013

Have more than one drawing template? (we use A and B size sheets)

My questions concerns, metric vs imperial A vs B vs C etc etc drawing sheet size title block does not scale down accordingly when change sheet size within an existing drawing template.

Is it possible to have one drawing template that can be toggle imperial vs metric, and then sheet size selected and then the title block scaled down or up accordingly? (I would assume this could be done using iLogic)

Or is it normal to have different drawing templates for sizes and units?

View 9 Replies View Related

AutoCad 2D :: Dynamic Title Blocks With Text Attributes In Title Column

Aug 14, 2013

i have created some dynamic title blocks with text attributes in title column. I have gone back an added some more attributes at a later date and these new ones will not move with my dynamic stretch! I have tried everything, modifying the action, re-doing the action, nothing works!

View 3 Replies View Related

AutoCAD Inventor :: ILogic Subassemblies Won't Update Unless In Their Own Environment

May 2, 2013

I have an assembly which is made with a sub assembly. The sub assembly has iLogic code that both resizes it's parts and suppresses parts that arn't needed after a change in length.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Mass Properties Update?

Aug 9, 2012

Is there any way to force an update of mass property values of a component from within an iLogic routine?

I am trying to produce a calibration chart showing the volumes of an irregular shaped object by taking incremental slices off the component and accessing the "volume" of the remaining portion, then writing the the results to an external file - All from within a "For - Next" loop.

The main routine works O.K. but the resultant chart only shows the original starting volume for each slice instead of the required reducing volumes.

I am a novice with iLogic and can only assume that I must somehow "update" the mass properties of the sliced object before reading its new volume on each pass.

View 7 Replies View Related







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