AutoCAD Inventor :: Using ILogic To Display A Table
Feb 15, 2013
I'm using iLogic to make simple parts. I don't want to make duplicate sizes. When a new size is created I add it's values into a spreadsheet. This is not at table driven part. I've also created some fancy excel searches to find sizes close to the current part. Ideally I want to display this close list in Inventor via a form or popup message. My thinking is we might find a size very close to our current need and not need to create a new size.
Originally this was a table driven part. We had to change it and make the parts individuals.
View 1 Replies
ADVERTISEMENT
Nov 13, 2013
I have created two iParts, both with corresponding tables which I then put into an iAssembly so I can change the size of a pad eye and two cheek plates depending upon the desired Working Load Limit. I have a very basic form right now with a drop down menu to chose the different Safe Working Loads but whichever one I choose, is not changing the table configuration to the desired size. Clearly my iLogic code is not working the way I would like. See below and also see attached screen shots so you know what I am working with.
If Parameter("SWL") = "4.75Te" Then
iPart.ChangeRow("PADEYE iPART - IMPERIAL:1", "WLL = 4.75Te")
iPart.ChangeRow("CHEEK PLATE iPART:1", "WLL = 4.75Te")
iPart.ChangeRow("CHEEK PLATE iPART:2", "WLL = 4.75Te")
ElseIf Parameter("SWL") = "6.5Te" Then
iPart.ChangeRow("PADEYE iPART - IMPERIAL:1", "WLL = 6.5Te")
[code]........
This code was actually overwriting the table properties (in excel), so I know this is wrong, I just couldn't find any snippet for changing a table configuration .
View 1 Replies
View Related
Mar 11, 2013
I tried Curtis Waguespack's iLogic: Export Parts List with Options, and it works great on Part Lists. I'd like to do the same thing on a custom table, but I don't know what needs to be changed.
View 3 Replies
View Related
Mar 28, 2012
I have created two table rows in an iAssembly that I would like to have a iLogic code written for.
What do I need to use to trigger between these two, when, for instance, a certain numeric value is entered in the parameters? Within the assembly file, when I use the iPart.ChangeRow (or iAssembly.ChangeRow) and put the . I am filename in the first spot, it says it cannot find the file.
This is what I am using, and the error states it cannot find the . i am file I am referencing.
IfParameter("Window_Cutout_Vertical")<=1AndParameter("Window_Cutout_Horizontal")<=1TheniAssembly.ChangeRow("A60_RHR_Door_Assembly.iam", "A60_RHR_Door_Assembly-02")ElseIfParameter("Window_Cutout_Vertical")>1AndParameter("Window_Cutout_Horizontal")>1TheniAssembly.ChangeRow("A60_RHR_Door_Assembly.iam", "A60_RHR_Door_Assembly-01")EndIf
View 7 Replies
View Related
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
Oct 1, 2013
Im linking a prompted entry in a sketch symbol to a selection from the user in an array. The code works perfectly.
The array displays the number of sheets there are in the document, the user selects the correct one & the sheet number is displayed in the prompted entry. I need to add "SHT" before the number though in the code but I cant get it to work.
I dont want to add a text line into the symbol saying "sht"
Dim oApp As Application: oApp = ThisApplication
Dim oDoc As DrawingDocument: oDoc = oApp.ActiveDocument
Dim oSheet As Sheet: oSheet = oDoc.ActiveSheet
'This uses a sketch symbol with the name "'View On' View Label"
Dim oSymDef As SketchedSymbolDefinition: oSymDef = oDoc.SketchedSymbolDefinitions.Item("'View On' View Label")
'This is the selected view
Dim oView As DrawingView: oView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter,"Select View To Place Symbol:")
'This takes the label items of the selected view
'And adds it To an array that will link To the prompted entry
Dim sPromptStrings(2) As String
sPromptStrings(0) = oView.Name
sPromptStrings(1) = oView.ScaleString
oDoc = ThisApplication.ActiveDocument
Dim sSheet As Sheet
'create sheet number list
Dim oSheetList As New ArrayList
i = 0
s = "-"
For Each sSheet In oDoc.Sheets
i = i +1
oSheetList.add(i)
Next
oSheetList.add(s)
'get user input
mySheet = (InputListBox("View taken form sheet number.", oSheetList, oSheetList(0), "Sheet Number Ref.", "Sheet Numbers"))
sPromptStrings(2) = mySheet
'This is the position for the sketched symbol under the selected view'
Dim oPosition As Point2d: oPosition = oView.Center
oPosition.y = oPosition.y - (oView.Height / 2 + 2.5)
'This inserts the sketched symbol and fills in the prompted entry.
Dim oSymbol As SketchedSymbol: oSymbol = oSheet.SketchedSymbols.Add(oSymDef, oPosition, , ,sPromptStrings)
View 2 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
Nov 20, 2012
I am wanting to use an Autocad table object to display fields from an Access database table that is linked to symbols in my drawing.
My objective is create a database table that has detailed notes for call outs in my drawings and then link my call out blocks to the database table and display the blocks and linked descriptions in an Autocad table. If the notes in the database table are edited the Autocad table updates with the new the description from the database.
View 1 Replies
View Related
Aug 25, 2012
Any way to use iLogic to create custom iProperties from the cells in an Excel spreadsheet (both text and numbers) for a .dwg template. The only thing even close has been a user who already knew how to do it and was having a different problem. I am using Inventor 2012 and Excel 2003 and have very little experience with VB. I currently have a family of assemblies, consisting of two parts linked to an Excel spreadsheet to control the various parameters for each variation of the assembly.
I need creating an iLogic rule that will:
Go to a specific tab (I have four different tabs/worksheets) in an Excel spreadsheet.
Make a specfic row of that worksheet the current row based on the part number used to generate the models of the assembly shown in a .dwg.
Use the contents of a cell in that row (text or numeric or a combination of both) to generate a custom iProperty for the .dwg template.
Use the custom iProperties to fill in the title block of the template.
View 4 Replies
View Related
Sep 7, 2012
How can I display the object data in a grid with vb.net and also add new features to the same layer along with the object data.
View 3 Replies
View Related
Jun 12, 2013
I have an alignment that is line and curve tagged for a table. The last segment of the alignment is a 3 point curve. It shows up in the alignment grid view, and is tagged. When the table is produced the everthing comes in except the 3 point curve I mentioned.
View 1 Replies
View Related
Mar 15, 2012
The angle or radius are outside the table boundaries. I have used bend tables before and have not run into this. See screenshot. What I don't understand is that in the error dialog box the Thickness is correct the Radii are correct and the Angle is correct except it is showing a -90 degrees. Is that the problem? The negetive? Why is it showing a negative number. I can't change the way the part is formed. The problem seems to be with the lower left hand curl. It does go ahead and flatten it, but I don't trust the results when I have the three errors.
View 1 Replies
View Related
Oct 16, 2013
I have a part where I have placed a number of table driven iFeatures. These features generate parameters in the model that I can see in the parameter table. I am trying to find a way to have these iFeature parameters show up in the hole table in my drawing.
By 'exporting' the parameters, I have been able to get the values to show in notes and drawing view labels but I can't find a way to add them as a 'New Property' in my hole table.
View 3 Replies
View Related
Jul 7, 2011
In ACA2008, can the display of each of the four edges of a cell in a table be controlled individually? I want left and right edges of cells to display, and top and bottom edges to not display. In the Cell Border Properties dialog box, I can set the Lineweight, Linetype, and Color of each edge, but I don't see how to set the visibility of each edge.
View 4 Replies
View Related
Sep 17, 2012
How can I display the object data of a layer in table format, with VB.net. or How can I display the attributes of a .SHP file, edit it and also add new point to it.
View 2 Replies
View Related
Jun 22, 2012
about a Volume Table style, where I have correctly showing in Model Space and is "Split" in the Table Properties. This is a "Total Volume Table" and is Dynamic.
Just Fine in Model Space... yet is showing within a Viewport (typ. plan sheet) that each Split is simply Staked ontop of each other ?
Thought I (we) came across this a few years ago... yet no issues latetly till now, and also mainly first time I've likely split the Table in R2012 (currently used).
Have maintaining View Orientation "true", yet still nothing.....
Xi Computer (Win7 64bit O.S.)
i7 3770K @ 4.5GHz Sealed Water Cooler
Quad Core w/ Asus P8Z77-V LE mobo
16GB DDR3 @ 1600Mhz RAM
15K Seagate SCSI H.D.
Nvidia Quadro 2000 (span2) + FX4600 (3)
ViewSonic VS2436 series displays (3)
View 4 Replies
View Related
Aug 19, 2013
how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies
View Related
Dec 18, 2013
Is there a way in the description field of an Inventor hole table to have mixed units? Some hole sizes at fractions, some at 2 plc, and others at 3 places.
Inventor Pro 2013 or 14
View 1 Replies
View Related
Nov 5, 2013
I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.
The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.
View 3 Replies
View Related
Mar 14, 2013
In our company, we put Excel tables in our drawings. The reason we've chosen for Excel-tables is that we can adjust the layout of the table quite easily. These tables consist of grouped cells in a particular company-specific layout. We select the range of the desired cells, copy and paste them in our AutoCAD drawing. This drawing is sent to our customers. The disadvantage of this method is, that when our customers (who use CAD-software of other brands) open the dwg, they don't see the table, but some kind of picture of the table.
Is there a way to 'explode' the excel-table, but keep the specific layout of the table? For attributes in blocks there's the 'Explode Attributes'-command in the Express-tools, but is there something similar for Excel-tables?
Product Design Suite 2014
Inventor 2012 SP2, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)
View 2 Replies
View Related
Feb 23, 2012
Is there a way to force the table and table text height to stay constant despite the scale? I can do it for Point Label Styles with an Expression. But in 2011 there is no way to build an expression for a table style.
I want to create tables in the drawing where the points are and then plot them from a drawing they're Xrefed in to. The tables are too small but zooming in doesn't make them any bigger because the scale of the viewport changes and they adjust.
View 4 Replies
View Related
Dec 9, 2011
Having an issue trying to join an access table to a shp file attribute table. I want to use the access table to cross reference the shp file for matching parcel numbers. I have attached the access table in the ODBC using a data source name however it seems to not give me the option to view any records.
View 2 Replies
View Related
May 16, 2012
Why does the table wrap like this (see attached)?? Shouldn't it place the wrapped rows on the bottom?
View 6 Replies
View Related
Feb 18, 2013
I want to know if you can link AutoCad tables to other Autocad tables on different layouts. Say I have ten sheets, each with a table for quantities of pipe length, and one sheet with a total of all quantities. Can I link cells from each separate layout sheet to the main table sheet, so that I can add them all for project totals?
View 3 Replies
View Related
Dec 13, 2013
How can I export a excel table to Autocad not as an OLE object but as a Audocad table?
View 7 Replies
View Related
May 6, 2013
I'm simply trying to delete the revision table if it exists on a drawing. I did find where you can't do anything with Rev Tags with the API, but what about the Actual Revision Table?
Trying to get this to work;
If iProperties.Value("Project", "Revision Number")>0Dim oRevTable as RevisionTableoRevTable = ActiveSheet.Sheet.RevisionTable.Item(1) oRevTable = nullRevisionTable
View 2 Replies
View Related
Oct 11, 2011
I 'd like to keep the old Revision table rows available , but off the sheet rather than delete all the rows & start from , let's say, Rev 10.Is this possible in 2012?
Inventor Suite 2013 Ultimate
View 6 Replies
View Related
May 31, 2013
Is it possible to add a Appearance tab to a Ipart table? I am cataloging a set of parts and one part is made with steel but in Gloss - Black and Matte - Black and i'd like to differentiate the 2 without haveing to make 2 seperate Ipart files.
View 2 Replies
View Related
Jun 25, 2010
I have created some reference points on a part. I have a need to include a table on the drawing of this part that shows the x,y,z coordinate positions of each of those points relative to the coordinate system origin. I have been trying to figure out a way to extract this information from the part to create source data to place into a table on the drawing.
View 3 Replies
View Related
Aug 12, 2009
I am creating an iAssembly with iParts. Some of the iParts have the "Table Replace" colum option and some do not. Both iParts have tables with members and part numbers. See pic.
View 3 Replies
View Related
Apr 23, 2012
I have a drawing of a sheet metal part that I did late last year. I used a Hole Table to dimension all the holes.
Fastforward to today. I added two holes that are different in size than any other hole. So when I opened the drawing it automatically added them to the Hole Table and gave them tag #'s in a new group and it kept the grouping in Alpha order. A, B, C were there before and it added D. Great, that's the way to do it.
Then I decided I needed to change the hole size. The change would keep the size different than any other hole on the part still. I go into the drawing and it change the size in the Table BUT, it also moved them up to the top of the list but kept the tag # as D*.
How do I get those two entries back to the bottom where they belong to keep them in order?
View 1 Replies
View Related