AutoCAD Inventor :: ILogic On Drawing Add Revision Row
Sep 17, 2013Is there a way to add a revision row with I-logic?
Inventor 2013
Is there a way to add a revision row with I-logic?
Inventor 2013
how to access the drawing sheet revisions using Ilogic.My company is wanting to start making the default initial rev on a drawing a "-" and inventor does not like to keep this when brought in as a template.
So like normal I am trying to trick it into having the dash until a rev is actually added.
My question: We want to use iLogic to save a PDF-file of the DWG-drawing every time we hit "save". We now use the following iLogic
Spoiler (Highlight to read)oPath = ThisDoc.Path PN = iProperties.Value("Project", "Part Number")
PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")
oDocument = ThisApplication.ActiveDocument
oContext = ThisApplication.TransientObjects.CreateTranslationContext
[Code] .....
Inventor 2012, DWG drawing file Revision table - iLogic
Using iLogic, how to extract data from "Design Tracking Properties" in a revision table to an embedded or linked Excel spread sheet? Design Tracking Properties like "Today's Date", "Designer", "Checked By", "Eng Approved By" are of great interest.
a customer has a title block with a revision table ( standard vault revision table) add on top of it.
If you change the sheet size the revision table remains his position.
If found the way to reposition the table with a ilogic rule.:
'point afstand in cm
PointX=(ActiveSheet.Width/10)-13
PointY=5.5
'punt vanaf rechtonder gemeten in cm
[Code]....
This is working perfectly. But now the challange how to trigger this rule to run if you change the sheet size?
if tried:
trigger=Activesheet.size
or
to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule. but both way didn't work.
Can event triggers from the API be used? Do i need the "Onchange" event? Any example for a ilogic rule?
I have a rule in the .idw drawing template, that displays a dialog box asking for the size (A, B, C, D...). Once the size is selected, it displays the appropriate border and title block. There is a small & large title block, so an A or B size gets the small, and a C or larger gets the large. This works great.
My question is, how can I have the appropriately sized Revision Table (small or large), automatically ready for use, based on the drawing size? The (2) Revision Tables are defined in the Styles library.
Product Design Suite Ultimate 2014 | Vault Basic 2014 (SP1)
Dell Precision M6600 | Intel i7-2820QM - 16GB
nVIDIA Quadro 4000M | Windows 7/64 Pro
I create all of the shop drawings for our company and I'm trying to find out the best way to track revised drawings. A lot of times I create a drawing and there are several revisions. The shop works off of a high res. pdf I print for them and we also have a signed version from the customer. Once in a while the shop gets their hands on an earlier revision and builds from it. The signed version from the customer is crappy at best and sometimes faxed so working from it is useless.
I have a space where I can manually enter the REVISION # on the drawing but sometimes I forget to update it. If I use an automated timestamp <timestamp> for the drawing with date and time (I've seen this done) or some iLogic code, would this show when the document is printed, opened or saved?
Starting a drawing which now needs a revision. Can't for the life of me find a revision cloud tool to mark up a change. This is the feature in SW [URL].......
View 1 Replies View RelatedIs there a way to have a lowercase revision number in a drawing (in fact, it's not really a number but a character).
All I can set is uppercase format or numbers.
I am trying to create some new templates for 2013 and I'm trying to figure a way to get the model revision number to populate into the drawing's iproperty revision number so that they will match upon save. I'm trying to do this by creating an ilogic rule but I don't see a system property in the idw that will allow me to access the 3D model iprops. I am going to Event Trigger the rule to run Before Save. Is this possible?
On the drawing border I have created a formatted text box that is built as:
Type: Properties - Model
Property: Revision Number
It simply pulls the data from the models revision number and populates the text box. I need this same thing to happen but rather than populate into a text box I need it to populate into the drawings revision number iprop.
Boxx Technologies 4920 Xtreme - Win7 64bit
Intel Core i7 3960X @ 4.5 GHz - 64GB RAM
NVidia Quadro 4000 - Quadro 600 - Tesla C2075 (driver 307.45)
Product Design Suite 2014 (SP1) - Vault 2014 Pro SubRel1 - CFD Sim 2014 - Bunkspeed Pro 2012
Inventor 2013-
Is there a way to pin or standardize where a revision table is located in a drawing?
I have a title-block set up and would like a revision table either embedded or populated upon command, just above my title-block. It would also need to extend upward with additional revisions...
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?
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)
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.
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
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.
Is it possible to rotate a drawing view using iLogic?
View 2 Replies View RelatedI'm trying to put together some iLogic code to either check all the drawing views within a drawing sheet are all the same scale, or make the views all the same scale. These drawing sheets consist of a number of individual parts (they aren't projected views from a single part).
This is for welded assemblies. We are required to generate a profile drawing sheet outlining each part that makes up the assembly. We send these out as dwg files for laser cutting so its important that the views are all the same scale.
I'm wondering if it is possible to check-in drawing into vault using i-logic?
If you check-in a drawing into our vault, it automaticly exports a .dwf to a storage server. We also have a simple button for making .pdf of the drawing to sent to the customer.
What i want to ensure is that the .dwf file and the .pdf file are the same. So when i press "make a .pdf" the rule will save my document, make a .pdf and (if possible) check it into vault. So from that point the .pdf for the client and the .dwf on the server are the same.
Inventor 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.).
I need to connect the ribs on the drawing. Here are some images to transactions automatically.
ILogic code must perform all operations possible, and impossible to ignore cases.
So my problem is that I need to include a line on a part drawing that isn't related to the part itself. I need to be able to override the dimension of the line I sketched so that I can include it in my drawing and update the dimension without having to change anything else on the part.
Basically, I want an iLogic rule to overide a dimension, and I don't know how to do that.
If I draw a flat square, and then a flat circle next to it, can I do things using iLogic that will make the two seperate parts interact? such as say 'if the circle contacts the square, then make the square become a circle too' or something like that?
View 3 Replies View RelatedI am looking to use iLogic to create feature suppression in individual drawing views, i.e for simplicity, in view 1 part has a hole in view 2 part does not have a hole it has been suppressed
I am aware this can be done with iParts but im trying to avoid using iparts.
Is there a way in iLogic to iterate through all curves on a drawing. We manually apply radii labels to each drawing view but would like to automate the process with iLogic. How could I reference and cycle through all the radii on my drawing view?
View 2 Replies View RelatedI 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.
Any way, using iLogic, to get the K-Factor from a flat pattern sheet metal view on an idw drawing and add it as a note.
I'd like a rule that would access the flat pattern on the drawing, get the K-Factor value and then create a note that says, for example, "K-Factor Value = 44".
I see in the iLogic Snippets there's a Get Active KFactor under the Sheet Metal section, but I don't know where to start.
I have a piece of equipment that changes from 24" to 96" with 5 discrete sizes. I am using ilogic to make all the changes required to the part. Any way that I can change the scale of a drawing using iLogic so that it fits better on my drawing and be adjusted every time. I have multiple pages that most of the drawing views need to be changed every time.
View 9 Replies View RelatedI want to retrieve dimensions in a drawing with ilogic. I found some code but how to translate it into a ilogic code.
I always use assembly models in these drawing and all the parameters have unique names. So in my drawing i want to retrieve some specific dimensions in a view.
Like the title says I am looking to place views (and dimensions) on drawings using ilogic. I am new to both inventor and ilogic, most of my training came in SolidWorks. It needs to pull the part from an ipart that pulls the information from an excel file.
View 1 Replies View Relatedhow could I synchronize my drawing with the referenced part?
I have a "User Defined Propertie" called "RBMATNO" in the part and in the drawing.