AutoCAD Inventor :: ILogic Access To Drawing Sheet Revision
Sep 27, 2012
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.
View 1 Replies
ADVERTISEMENT
Sep 24, 2012
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?
View 3 Replies
View Related
Sep 17, 2013
Is there a way to add a revision row with I-logic?
Inventor 2013
View 2 Replies
View Related
Jul 15, 2013
How to access the color for a particular hatch within a drawing using iLogic.
I would like to color the hatching for parts based on paramaters besides material.
ie.
Purchased parts = Green Hatch
Refrence = Grey Hatch
I would hope one could loop through the views looking for hatches, and once found, check the part they are associated with, then based on an "if then, change the hatch color and move on to the next pattern.
View 4 Replies
View Related
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
Dec 11, 2012
How to reference the drawign sheet number using iLogic? I see on the snippets on the side a way to reference the sheet name, but I only want the number. To get the name it is ActiveSheet.Name, but ActiveSheet.Number does not work. Getting the name give something like ASSM:1, so if there was a way to take that and subtract the colon and everything before it that would work also. I am not a programmer, I've just taked some programs I found online and modified them a little to do what I want to do, but this is holding me back a bit.
Overall, I'm trying to modify the drawing view label to have a project number, referenced from the drawign iProperties, a view label, and sheet number, and then save that info in an iproperty of the part, and then reference that in the BOM so it automatically labels all of the views and fills out a column of the BOM to reference which page and view to find the parts of the assembly. I have everything working except for the sheet number.
View 5 Replies
View Related
Jan 20, 2011
I am using the sheet list table to generate a table of contents. I add the "Drawing Revision Number" column to the table, but when it generates the list it does not include the field.
Is there any way to add the "Sheet Revision Number" instead since this is what property is actually adjusted in the sheet's properties? (i never change the "Drawing Revision Number")
OR is the solution to change the "Drawing Revision Number"? Where do I change this property at? Is this property applied to all sheets within a drawing?
View 2 Replies
View Related
Jul 7, 2011
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] .....
View 9 Replies
View Related
Jul 23, 2013
Just created a 2nd drawing sheet in my IDW, and when i place a revision table it is missing most of the data that is shown on sheet 1. All i get are the description column entries, nothing else.
View 9 Replies
View Related
Jun 21, 2012
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.
View 4 Replies
View Related
Oct 28, 2011
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
View 1 Replies
View Related
Oct 29, 2013
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?
View 4 Replies
View Related
Aug 22, 2013
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 Related
Dec 13, 2012
Is 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.
View 7 Replies
View Related
Jun 5, 2012
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
View 7 Replies
View Related
Nov 19, 2012
I'm now having an issue accessing the features in an assembly, the error message is attached and the following is the relative code.
The error line is between the 2 Test Messages:
'Create a Component Definition relative to the Part Document
Dim oFeature As Features
Dim oAssembly As AssemblyDocument
oAssembly = oCompOcc.Definition.Document
MsgBox("Test 1")
'Cycle through all features in the Part
For Each oFeature In oAssembly.ComponentDefinition.Features
MsgBox("Test 2")
View 3 Replies
View Related
Oct 13, 2011
I am trying to use the iProperties.Value("part1", "Summary", "iProperty") function to get the filename or complete filepath of a component within a subassembly. I know that these iProperties exist because I can insert them onto a drawing, and I see them in the general tab of the iProperty window.
However, when I try something like:
filename = iProperties.Value("part1", "General", "Filename")
I get an error message indicating that the General tab can't be found. How might I go about getting this filename iProperty, or is there an easier way?
View 4 Replies
View Related
Feb 10, 2012
I am new to iLogic and trying to access the "Application Options" under the "Tools" tab. I am trying to grab some information from a couple of fields but it seems that I don't have the right coding or Snippets that indicate how I would do so.
View 3 Replies
View Related
Aug 2, 2010
I have a program that populates an access database with part parameters. Each Inventor part can look up its own parameter values from the database when supplied with a single parameter, the ID number of the database record. The ID number is derived from a blank part that the program also updates. So in a nut shell, the program populates the blank part's parameters with all database ID numbers that would make up entire assembly. Those parameter values are derived to all the parts in an assembly. This is by far the fastest most efficient way I've found to rapidly generate an entire assembly. In a matter of seconds I can have a new 1000+ part assembly.
The rumor that Inventor will eventually sever ties with VBA has put this whole process in jeopardy. So I have been looking into using iLogic to perform the same task of looking up the data from Access. I know that iLogic has Excel functions built into it, but because the original program is Access based (changes this is not an option) any way to use iLogic to retrieve data from Access.
View 4 Replies
View Related
Jun 26, 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...
View 4 Replies
View Related
Sep 20, 2013
I have an older drawing with an outdated sheet format. I'm wanting to update to a new custom sheet format without having to redimension and recreate views. Is it possible to just update the sheet format?
View 1 Replies
View Related
Apr 16, 2012
I have a dwg file with three sheets in, just default names, I can access sheets 2 and 3 but get the attached errors when trying to access sheet 1 form either sheet 2 or 3
This file was originally created in IV2009 I've had no problems then or with the various conversions of it.
It seems to be memory related so here's the sitrep as for memory 8GB DDR2 RAM, and Virtual Memory set at min of 8192MB and a Max of 16384MB, I did have it set a systems managed but that gave a warning of low virtual memory with almost every drawing file that I opened.
View 1 Replies
View Related
Aug 23, 2011
I would like to be able to use iLogic to get the value of the Comment field of a model's parameters. I have some text there that I would like to display in a sketched symbol. The attached image illustrates what I am seeking.
View 2 Replies
View Related
Nov 9, 2012
I am currently trying to retrieve data from a MS Access Database, we currently have iProperties with number values in them. An outside programmer created a code which takes these values and exports them to an MS Access Database, where they are then translated to mean something.
Instead of exporting those numbers, I want to use them to find what they ACTUALLY mean within the database and bring that information back into iLogic. (ie. 123456 actually means "1/4 Flat Bar Steel")
In short, I wish to access the MS Access database through iLogic in order to read information from it.
I have searched for the better part of 3 hours but have not found a good answer or example code of this situation. I am not that experienced in programming, but have worked with the API before for developing Automated Drawings and have an understanding how to navigate through. If there were to be some example code, I can begin to understand the process quite well through this method as well by seeing how to go about coding this.
View 2 Replies
View Related
Jul 15, 2013
How do I get at the hatch objects within a drawing using iLogic?
I would like to be able to customize hatch color based on various part properties.
ie:
Purchased part = Green Hatch
Refrence = Light Grey
and much more
This would be possible if I can get to the hatch object and determin what part it is associated with.
I only see iLogic code that allows you to change visibility of all hatching, and set general hatch angle.
Since I can select a hatch in the drawing and change its color, I assume there is an un-published API object that relates to hatches
View 3 Replies
View Related
Nov 23, 2012
What is the code to create (or add) a new sheet in a drawing with iLogic?
View 1 Replies
View Related
Oct 31, 2013
I've seen snipppets of code to get the Sheet name but is there a way to set it via code? I'm thinking it might be useful to set the sheet names to the chosen sheet format (as opposed to just 'Sheet').
I'm sprucing up my drawing template...
Rule #1 is for selecting sheet format (which title block/sheet size / orientation)
Rule #2 is for setting iproperty values to populate the titleblock with info. (if required)
Rule #1 was based on code from S.Bixler & inventortrenches
Rule#2 was based on more code taken from here.
View 2 Replies
View Related
Nov 8, 2012
Is it possible to open an embedded XL sheet with iLogic ?
I tried "GoExcel.Open("3rd Party:Embedding 2", "ENTREE DES DONNEES"), but nothing happen...
View 9 Replies
View Related
Jan 9, 2014
I am trying to create a new sheet in an existing excel file and can not figure out how to do it.
I am trying to export parts lists from multiple drawings to an exisitng excel spreadsheet and I'd like have each on their own sheet. I can do everything but create a sheet. How to do this in iLogic?
Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB
View 2 Replies
View Related
Mar 4, 2013
Any way or a code to physically change the sheet metal defaults using iLogic code, I want to change parts in my assembly without opening each individual part and changing it there. Inventor 2014, Windows 7, 64 bit.
View 8 Replies
View Related
Jan 15, 2013
I made a form that allows the user to enter in a custom sheet size. Using the API I am changing the Drawing Sheet Size Enumerator to the Custom Sheet size which allows the user to enter in custom values. That part is all working fine. My problem is that when a custom size is used in my title block it says that the size is "Custom Size (mm)". I know that the API uses cm for the sheet size units so I have the code convert the values into cm.
In the sheet settings window built into inventor it has the option for Custom Size (inches) and Custom Size (mm). How do I change whether it is inches or mm?
View 5 Replies
View Related