AutoCAD Inventor :: Ilogic To Change Drawing Document Settings?

Jun 3, 2013

Im looking to make a simple ilogic rule that can toggle an option in the document settings, the setting I would like to change is the Document settings> Modeling> Participate in assembly and drawing sections

I would like a form to switch the option on and off quickly, its a really usefull function however I know a few of my colleagues wont use if they cant find it easly.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Change Document Settings On Several Files At Once - ILogic

Aug 9, 2012

Im adjusting the CAD setup in our company, and therefore im looking for a way do change the document settings on all parts in an assembly (or the whole CAD directory) the easiest way possible.!

I have attached a picture of the setting i would like changed.

Is it possible with some Autodesk task scheduler tools..?

or can it be done with an ilogic rule?

View 4 Replies View Related

AutoCAD Inventor :: ILogic To Edit Document Settings

Apr 3, 2013

Is there a way in iLogic to change the document setting for an .idw file?

Inventor 2013

View 3 Replies View Related

AutoCAD Inventor :: Change Document Units Using ILogic Rules?

Aug 23, 2012

How do I change the document units using iLogic rules.

View 3 Replies View Related

AutoCAD Inventor :: Change Drawing Scale With ILogic Upon Parameter Change

Jul 8, 2013

I have a spreadsheet and iLogic driven mater assy to generate different iterations.

I would like to change the scale of a base view on a drawing based on a parameter in my assembly. The idea is to get iLogic to change the view using a simple If / Else statement.

This is what I tried:

If Parameter("0 Generic Assembly v2.2.iam.BP") < 1570 Then
ActiveSheet.View("VIEW1").Scale = 1/8
Else
ActiveSheet.View("VIEW1").Scale = 1/10
EndIf

So basically the value of "BP" parameter (excel parameter in my assy) would drive the scale of the views. But its not working. Is it actually a sensible method? Can I use in the drawing environment the excel parameters in my assembly?

This is the error message I get when the rule is run:

"Error in rule: View Scale, in document: 0 Generic Assembly v2.2.idw

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" 

Also using the same thinking I use iLogic to populate the drg number field on the drawing based on an excel parameter. The rule works but does not always updates the drawing no upon the parameter change or update/rebuild commands.

View 1 Replies View Related

AutoCAD Inventor :: Change PL Header On Drawing Via ILogic

Apr 10, 2013

I want to be able to change the header on a PL in a drawing using iLogic.

I'm able to "find" the PL(s) on a drawing but can't seem to figure out how to access the header property My goal to to change the header to show the P/N of the assembly/part it's created from.

My Current code is below:

doc=ThisDrawing.Document
oBOMs=doc.DrawingBOMs

For Each oBOM In oBOMs
MessageBox.Show("Found a PL", "Title")
Next oBom

In between the for/next loop is where I want to access the current BOM and change it's header depending on the related .iam/.ipt.

View 2 Replies View Related

AutoCAD Inventor :: Change Active Drawing Standard With ILogic

Sep 2, 2011

I am trying to have one drawing with B size and E size sheets I am trying to get the border, title block and standard to change when the sheet format changes. I can get it to work when I run the rule but have hard time find information to just change when sheet format changes. And I can't find anything or I should say a sample of how to. I think I found the code just don't know how to make it work. Here is what I  have so far.

SubMain()

IfActiveSheet.Size="E"Then
ActiveSheet.TitleBlock="G&T (E)"
ActiveSheet.Border="G&T Border (E)"
EndIf
IfActiveSheet.Size="B"Then
[code].......

View 9 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Drawing View Layer

Jul 22, 2013

I am trying to piece together some code for an ilogic rule. This rule should look for a drawing view that is a flat pattern, if it finds one it should change the object layer to our "CNC" layer.

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 :: Change Drawing Dimension Text And Symbols Font With ILogic

Nov 2, 2012

I was looking to change the fonts in a drawing for the Dimensions and Symbols that might have been inserted in the Dimension text entries.

This can be done manually bu editing the dimentions text after placemement, but I was ooking to set this as a default.. I cannot see where exactly this is controlled in the Styles Manager - I am only able to change the Dimension text font but the diameter symbol font is always on AIGDT.

I was therefore looking for an iLogicvb code that could do the trick, but I am not able to even change the dimension fonts... The code runs with no errors but nothing gets updated in the drawing...

Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
oSheet = oDoc.ActiveSheet

[Code]....

InventorVb.DocumentUpdate()

View 3 Replies View Related

AutoCAD Inventor :: 2012 - ILogic Code To Change Drawing Layer Color

Aug 27, 2011

How to change the color of layer that will be used within a drawing files for special purposes.

Ideally the code will make the color Red, but change to Black prior to printing.

The "logic" behind the code currently is to differentiate a layer called "Burn" to a highly visible color for the purpose of review by others then, prior to printing, change the color to Black.  The firm I'm currently working for uses gray-scale B sided printers only.  The firm currently uses Blue for dimension and extension lines so to produce drawings that portray both type of objects "lightly".

View 2 Replies View Related

AutoCAD 2010 :: Change Drawing Scale In Drawing Settings

Jul 25, 2012

I realize it may be a Civil3D question.  When I change my drawing scale in the "Drawing Settings" dialog box to 1"=40', for example.  The Annotative scale in the Properties Palette changes to 1"=40'_XREF.

View 2 Replies View Related

AutoCAD Inventor :: How To Get Model-document Name For Drawing-document

Feb 11, 2013

I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.

View 4 Replies View Related

AutoCAD Inventor :: No Units Tab In Document Settings In IDW

Mar 27, 2012

I want to change the default precision shown in my drawing from two decimal places to three. In my .idw file the "Units" tab does not seem to be there. I see Standard, Sketch, Drawing, Sheet. I could change each dimension one by one, but there's got to be an easier way.

View 2 Replies View Related

AutoCAD Inventor :: API - Set An Event Trigger For An Ilogic Rule In A Document

Nov 3, 2011

Is there a way to set the event trigger of an ilogic file that's already inside of a document? I have code that can automatically create and populate new rules across my assembly parts, but it would be nice to set certain rules to fire every time that part gets saved. 

If it can't be accomplished outright from the API, would it be possible to throw an OnEvent (save event in this case) inside of the iLogic code, to get the same results? URL...

View 8 Replies View Related

AutoCAD Inventor :: Units Command Under Document Settings?

May 21, 2012

Where did they put it in IV 2013?

View 9 Replies View Related

AutoCAD Inventor :: Document Settings With Rule (Form)

Jul 15, 2013

I want to set Default BOM Structure (Document Settings/Bill of Materials) in my own Form (with Rule) for active part/assembly.

This Form (Rule) will be in template. Is there any simple way to do this (picture is in attachment)?

View 8 Replies View Related

AutoCAD Inventor :: ILOGIC Form Stays Open After Document Closes?

Jul 11, 2012

I have an assembly with a dozen or so rules and a form in it.

After selections have been made on the form, one of the rules saves the assembly as a new assembly (save as).

This closes the first assembly and opens the "saved as" assembly, BUT the form from the first assembly stays open.

It appears the first assembly gets closed so quickly the form does not close also.

I can just hit "done" button on the form to close it in new assembly, but would rather the form close automatically.

Is there code that I can add to close the form ??

View 3 Replies View Related

AutoCAD Inventor :: Document Settings With Respect To Style Library

Feb 21, 2012

If my style library is enabled in project it always refresh definitions whenever i create a document using template and press update the window in snapshot shows up.

Is there any way to do vice versa - i.e. get all these items updated in style library as per the current document setting.

View 5 Replies View Related

AutoCad :: How To Change Settings For Opening Another Drawing

Apr 9, 2012

How to change the settings (if it has) for opening another drawing. because for example I opened an autocad file, and again i want to open another file, when I opened another file it will not display in the same window which I first opened, it is very hard for me to put my mouse pointer on the taskbar to choose that drawing and again return in another drawing, better if using the windows button inside the autocad. here is the image just to be clear on what i am trying to ask.

Untitled.jpg1.jpg

View 9 Replies View Related

AutoCad 2D :: How To Change CBT File Settings From Imported Drawing

Dec 5, 2013

I'm using an embedded ACAD, and getting half-finished field-to-finish dwgs from a sub-contractor. I'm having a hard time getting his lineweights to conform to the output needed.

View 6 Replies View Related

AutoCAD Inventor :: Adding Document Settings To Quick Access Toolbar Causes To Crash

May 29, 2013

When I add "Document Settings" to the quick acess toobar it causes Inventor to Crash when I close the active .ipt, idw, etc.

View 6 Replies View Related

AutoCAD Civil 3D :: Shift To Deselect - Settings Change Within Individual Drawing File

Jan 16, 2013

After reviewing many similar topics, I am still at a loss here.  We are finding that the settings for using shift to deselect items seem to be changing within individual drawing files. 

I open 2 drawing files.  In one, the shift/deselect works fine, but in the other is does not deselect anything...

Further - within the non-working drawing file, the option to activate 2 hotpoints on a line and then stretch that line no longer works either.

Like everyone dealing with these shift/select/deselect issues, we are wasting an extreme amount of time trying to resolve issues that never seemed to be issues with past versions.

View 4 Replies View Related

GIMP :: Can't Change Settings Of Any Drawing Tool

May 26, 2013

I cant change the settings of any drawing tool, it just says you can drop dockable dialogs here.Attached File(s) Capture.PNG (195.6K) Number of downloads: 4

View 4 Replies View Related

AutoCAD Inventor :: ILogic Trigger In Drawing

Sep 18, 2013

I have a few assemblies setup that are controlled with a bunch of iLogic rules to modify all related parts when parameters are changed at the assembly level.  I also have an opening message that pops up when the assembly model is opened (After Open Document trigger) to tell people how to use the parameters to make modifications.

Now, when this assembly model is placed into a drawing I am getting random pop ups of the opening message when placing views of additional models in the same drawing.  If you open the drawing and try to place a base view of another model, Inventor stops to think for a minute or so before having the opening message of the iLogic controlled model pop up.  The only event trigger for this message is "After Open Document" and the model is not being opened; why it is being triggered in the drawing and/or how to make it stop?

View 4 Replies View Related

AutoCAD Inventor :: ILogic Save Drawing As DWG

Apr 24, 2012

Is there a way in an inventor drawing rule to do a "save as" which saves the drawing as an Inventor dwg file rather than an AutoCAD dwg file?

The below saves as AutoCAD which is ok but I need the outputted drawing to be linked to the model. I don't want the code to save the entire assembly as this is done further down the line. I also don't want to save the current inventor dwg drawing from which the rule is run as this is just a template drawing.
 
ThisDoc.Document.SaveAs(ThisDoc.Path&"2D_DRAWINGS"&iProperties.Value("Custom", "Drawing No.")&" (Rev "&Parameter("BEAUFORT_ARRANGEMENT_3.iam.DRAWING_REVISION_NO")&")"&".DWG", True)

View 1 Replies View Related

AutoCAD Inventor :: Drawing Sheet ILogic

Apr 19, 2013

have 2 questions

1.) If you look at the attached screenshot in the Edit Sheet form there is a sheet "Revision" input field is it possible to fill this out via iLogic?

2.) We have some custom E size sheets (height always 34in width varies 5ft, 6ft, and 8ft) when we select on of these sheet sizes that we created  it will display "Custom Size (inch)" when using the sheet property <sheet size> in the title block not the name of that we gave these sheets (Which creatively enough is "E-5ft", "E-6ft", and "E-8ft"). I thought I had this solved by doing this:

Dim oSheetSize As String
oSheetSize = ActiveSheet.Size
If oSheetSize = "Custom" Then
iProperties.Value("Custom", "SheetSize") = "E"
Else iProperties.Value("Custom", "SheetSize") = oSheetSize
End If

then change the titleblock sheet size field from sheet property <sheet size> to custom drawing properties <SheetSize> this all works great if there is only 1 sheet in the IDW where it fails is if there is more then one sheet.

View 2 Replies View Related

AutoCAD Inventor :: Add Block To Drawing With ILogic?

Jul 4, 2012

I recently start to use ilogic in inventor and discover this powerfull tool for all the daily task to be done...

I would like to add an autocad block in a drawing with some ilogic coding. Through this forum i found how to insert a sketched symbol but no how to insert a block.  And convert my block into a sketch would be quite difficult...

where could i found a list of all the ilogic command??

Autodesk Product Design Suite Ultimate 2013
Win 7 Pro 64 bits SP1
Bi-Xeon E5520 (2x Quad-core @2.27GHz)
Quadro Fx 1800 768Mo GDDR3
6Go Ram DDR3 667MHz ECC

View 1 Replies View Related

AutoCAD Inventor :: ILogic Drawing Rule

Jul 18, 2013

I have a rule setup for drawings. I need the rule to first determine if the there is a flat pattern view present. In other words, if there is no flat patter view, I want to the rule to stop.

I am very green to ilogic and VB. Running Inventor 2013.

View 2 Replies View Related

AutoCAD Inventor :: ILogic On Drawing Add Revision Row

Sep 17, 2013

Is there a way to add a revision row with I-logic?

Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Open Document From Drawing Partslistrow

Sep 25, 2013

I wish to open a part or assemblydocument by its item number in the drawingdocument.

I can make an inputlistbox with all Item numbers in the drawing.

I can also link the result of the inputlistbox to the partslistrow.Item("Item").Value.

 I am stuck here. I can not find the link/reference from a partslistrow to a document.

Is there a propertyfield that keeps the link? Or another way?

Comparing partlist and BOM cells by value is not a method I can use

View 2 Replies View Related







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