AutoCAD Inventor :: Hide Custom Table Border With VB?
Jun 25, 2012
I am creating a standalone .exe with VB.net that opens an Inventor .idw and creates a few custom tables. I want one of the tables to have no border at all.
So far I have tried:
Dim oFormat As TableFormat oFormat = oInvSheet.CustomTables.CreateTableFormat oFormat.InsideLineWeight = 0 oFormat.OutsideLineWeight = 0 oCustomTable_Hardware.OverrideFormat = oFormat
But that does not hide the border lines.
I've found no similar code to try out that dealt with table borders or that sort.
View 2 Replies
ADVERTISEMENT
May 18, 2012
I am using a link to an .xls worksheet to populate a General Table in my .idw (Inventor 2012). See attached. The blank space underneath the first lines of information will always be blank, no matter how many rows we get. Is there a way to have the drawing hide the blank/empty cells, make the borders invisible, etc?
I have tried using the Insert Object for an Excel file instead of using the Table feature, but it does not appear to be an updatable link. As in, if I change data in my .xls file, it won't update the inserted object to the same info.
View 3 Replies
View Related
Feb 20, 2012
The company I work for produce drawings for various types of fabrication.
Using Inventor I have a drawing border in which tolerance values change depending on the type of fabrication to be produced. The type of fabrication (0,1,2,or 3) is designated by a custom property entered during part/fab model creation.
This property may change depending on various production factors. The issue I have is how do I get the border to recognize this potential change in fab type and populate the tolerance fields with the necessary information?
View 3 Replies
View Related
Jul 21, 2008
The API doesn't appear to provide the ability to turn visibility off on a custom table row. Is there anyway to turn off the visibility of a row?
Auto desk: do you have plans on adding this functionality to the API?
View 4 Replies
View Related
Sep 24, 2012
We are doing tank drawings and the company now wants a custom format/style of table (attached as jpg) to be on all the drawings (which are complete already) which will be the cleanest way to get a table like that. I tried making something in Excel and inserting as a Gen. Table, but each of the cell borders show up.
Would I just do a sketch and insert text boxes where necessary?
View 5 Replies
View Related
Feb 6, 2012
I would like to know if there is a way to suppress size in a custom table for frame members. So far, I've copied the ANSI hss square tube library to another name and it is not linked to the previous family. What I need to do is make only certain size of these tubes available and the only way I found was to delete them. The things is I don't want to delete them because I may need them in the future. Also, when I have different materials in that table they appear as 2 diferent size in the frame generator insertion window. For example, if I have in my table a 2x2x1/8 tubing 1 in aluminum and the other in steel, I will have 2x2x1/8 X2 in the size selection window.
View 6 Replies
View Related
Aug 13, 2012
I am looking for assitance with the VB code to change the text style within a custom table when it is created from a VB standalone program. I am using Inventor 2013 and VB 2010 Express.
I have a customtable that is created within a .idw, and I would like to have the data cells set to "Table_Cells" style that I have created. I cannot find anything in the help file with a sample code to build off.
I figure it's got to be something with oCustomTable.DataTextStyle but beyond that I am lost.This is what I have, and VB is kicking it back in my face.
Dim oTextStyle As TextStyleoTextStyle = oCustomTable.DataTextStyle.StyleType("Table_Cells")
Error 2 'Public ReadOnly Property StyleType As Inventor.StyleTypeEnum' has no parameters and its return type cannot be indexed.
View 3 Replies
View Related
Sep 5, 2013
updating the source of a custom table in a drawing. I wrote a design copy rule that takes a template "module" and saves all the files off into the customer's project folder. This latest module has an orientation chart that details the location of key features and is displayed on the drawing. We're driving the chart using an external excel file. I can get the reference in the assembly to update with no problem by just telling the driving rule to look for an excel with matching project and assembly numbers in the same folder as the assembly.
However, when I try and update the reference in the drawing, I can get the "3rd Party" link to change, but it doesn't change the actual link in the table. Here's a pic of the tree and my part of the current code. How can I make it update the actual link?
TryDim oSht As Sheet = oDwgDoc.Sheets.Item(1)Dim oChart As CustomTable = oSht.CustomTables.Item(1) MsgBox(oChart.Title)Dim oChartDesc As FileDescriptor = oChart.ReferencedDocumentDescriptorchartDocName = oDwgDoc.ReferencedDocumentDescriptors.Item(1).FullDocumentNameIf chartDocName.Contains("OrientationChart") ThenMsgBox("The dude contains")End If orientChartName = Left(iProperties.Value("Custom", "OldName"),
[code]....
View 1 Replies
View Related
Jun 18, 2012
I am creating a custom table in a .idw through VB. I was looking for the code that would tell it to make a column have units formattng. For example, instead of my thickness to be 0.5, I want it to show 1/2 in. I know you can do this manually in the table editor, but I cannot find any bits of code that will do it in VB automatically.
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
Sep 20, 2012
I am using VB.net to generate a custom table in my .idw files to make a plot stamp. The table is showing up, however, the text is garbled. When you open the .idw, the table properties show the text correctly but the display is coming out messed up. I have attached a picture of what each looks like. I moved the table off the sheet for clarity.
The
Public Sub PlotStamp()
Dim oDrawDoc As DrawingDocument
oDrawDoc = _invApp.ActiveDocument
Dim oInvSheet As Sheet
oInvSheet = oDrawDoc.ActiveSheet
Dim oTitles_Plot(0) As String
oTitles_Plot(0) = CurrentFilename
[Code]...
View 2 Replies
View Related
Nov 2, 2011
I need to insert a table on one of my Inventor drawings, however, it will vary in size (Fixed colums, variable number of rows). I have searched the forum and found this snippet of code to add a 2x20 table.
Sub Main()Dim oDrawDoc As DrawingDocumentoDrawDoc = ThisApplication.ActiveDocumentDim oSheet As SheetoSheet = oDrawDoc.ActiveSheet' Set the column titlesDim oTitles() As String = {"Member","Pos. From Datum A"}Dim oPoint As Point2doPoint = ThisApplication.TransientGeometry.CreatePoint2d(1, 28.7)' Create the custom tableDim oCustomTable As CustomTableoCustomTable = oSheet.CustomTables.Add("Infill Spacing", oPoint, 2, 20, oTitles)End Sub
The Problem
I now need to be able to do two things:
1. Delete all custom tables that may be on the drawing ( I may have more than 1 custom table on the drawing)
2. Access the individual rows and colums in a specific table so I can write a variable into them.
I have searched high and low for the API commands, but cant seem to find them.
View 5 Replies
View Related
Feb 22, 2010
I'm creating a cover sheet for a drawing set, and I would like I add some PDF images to it. I had no problems x-refing them into the sheet, but because all images have to be assigned a layer, all of the PDFs are bordered by a line of that layer's weight and color.
I tried to assign the layer "do not plot", but the images don't plot either when I do. Is there a way to x-ref a PDF image into my sheet and prevent the border line from printing? I'm using AutoCAD 2010.
View 6 Replies
View Related
Sep 6, 2012
When you make a custom table in VB.net, adding in the Row Height property in the custom table create line only changes the data cell row heights, not the title cells or the header cell. How do yo do set the title/header cell row heights ?
Dim oRowHeights_FS(11) As DoubleoRowHeights_FS(0) = 0.6oRowHeights_FS(1) = 0.6oRowHeights_FS(2) = 0.6oRowHeights_FS(3) = 0.6oRowHeights_FS(4) = 0.6oRowHeights_FS(5) = 0.6oRowHeights_FS(6) = 0.6oRowHeights_FS(7) = 0.6oRowHeights_FS(8) = 0.6oRowHeights_FS(9) = 0.6oRowHeights_FS(10) = 0.6oRowHeights_FS(11) = 0.6Dim position_FrameShear As Point2d = _invApp.TransientGeometry.CreatePoint2d((oInvSheet.Border.RangeBox.MinPoint.X + 16), (oInvSheet.Border.RangeBox.MaxPoint.Y))Dim oCustomTable_FrameShear As CustomTableoCustomTable_FrameShear = oInvSheet.CustomTables.Add(vValue_FrameType & " " & vValue_Hand & " Frame Shear List", position_FrameShear, 6, 12, oTitles_FrameShear, oContents_FrameShear, oColumnWidths_FrameShear, oRowHeights_FS)
View 2 Replies
View Related
Sep 3, 2013
When I place a custom ipart (a simple one in this case) the length in my table changes
Inventor Professional 2014.
Windows 7 64 bit.
View 2 Replies
View Related
Nov 20, 2011
I have created the Custom library of ISO bolts by adding the Material to existing ISO library using the Material Guide.
The goal is to make bolts black and anodized to be more specific with purchase orders from very beginning.
After the adding the material everything is working good except the auto drop. There is a wide Table pop ups with a lot of unnecessary info.
Is it possible to choose the columns to represent there? I mean leave just Material or Part Number ?
[URL] ........
View 2 Replies
View Related
Feb 21, 2012
In a simple case I have an extrusion with some attached seals/weather stripping, all implemented as iParts having their own LENGTH parameters.
RailPart.ipt, Seal_A.ipt, Seal_B.ipt
The goal is to encapsulate these IParts within an iAssembly: RailAssy.iam, where a LENGTH parameter can be input when the iAssembly is placed, causing RailPart and Seal_A to have their length parameters set to the LENGTH provided at that time and SEAL_B having Length set by an iLogic rule to LENGTH - 5.
I've been unable to set up a Custom Parameter Column in an iAssembly table. Is this even permitted?
Inventor Premium 2012 SP1
View 5 Replies
View Related
Sep 26, 2012
Is there a way to hide or collapse several rows in a Table with a single click? This would be similar to grouping rows together in Excel.
View 1 Replies
View Related
Aug 15, 2011
The paragraph text always shows a black dashed border (or red, when part of the text is not shown). Sometimes it is very difficult to evaluate a design/layout, when the borders are shown. So I searched an option to hide this border, but did not find any. How to hide this border?
View 3 Replies
View Related
May 30, 2012
how can I set left, right, rop and bottom table borders with VBA Macro? I have select table, but my old (CDR5) macro doesnot work.
This not works:
Sub tableborder() Dim o As ShapeRange Set o = ActiveSelectionRange Set ta = o.Item(1).Custom For Each radek In ta.Rows For Each bunka In radek.Cells bunka.Borders.Top.Color = CreateCMYKColor(0, 0, 0, 100) bunka.Borders.Top.Width = ConvertUnits(1, cdrMillimeter, cdrInch) bunka.Borders.Top.Style = OutlineStyles(0) bunka.Borders.Bottom.Color = CreateCMYKColor(100, 0, 0, 0) bunka.Borders.Bottom.Width = ConvertUnits(2, cdrMillimeter, cdrInch) bunka.Borders.Bottom.Style = OutlineStyles(0) bunka.Borders.Left.Color = CreateCMYKColor(100, 100, 0, 0) bunka.Borders.Left.Width = ConvertUnits(3, cdrMillimeter, cdrInch) bunka.Borders.Left.Style = OutlineStyles(0) bunka.Borders.Right.Color = CreateCMYKColor(0, 100, 0, 0) bunka.Borders.Right.Width = ConvertUnits(4, cdrMillimeter, cdrInch) bunka.Borders.Right.Style = OutlineStyles(0) Next bunka Next radek ta.Borders.Left.Color = CreateCMYKColor(0, 0, 100, 0) ta.Borders.Left.Width = ConvertUnits(5, cdrMillimeter, cdrInch) ta.Borders.Left.Style = OutlineStyles(0)End Sub
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
Sep 29, 2012
Can we produce a Horizontal curve table like the attachment Table 1 and i have another queries could Civil 3d Produce a table like the attachment Table 2 i know i can get this table by lisp or macros.
View 2 Replies
View Related
Aug 19, 2008
i have created a table style and saved it within a drawing, how would i go about adding this style to a tool palette?
View 4 Replies
View Related
Sep 12, 2007
I've been trying to make a custom border for my images in PS. I already have an action that does this for me:
Back when I printed images myself in the darkroom, I loved FF images and the black edge they have. Here's an example of one of my old prints (scanned):
how to get a somewhat soft black edge like that that isn't perfectly straight? I've found a special brush in PS:CS3 that gives me this:
Now my issue is I need this to be done in an action. That was done "free hand" by drawing a straight line across each edge, then adding the white after with the canvas size tool... Also that brush isn't perfect. I'm looking for something that has that perfect looking blend/rollover as it transitions into the image.
View 5 Replies
View Related
Jul 24, 2007
i recently created a gif image using image ready (around 120 different frames) and i would like to give it round edges for instance, how would i go about doing that?
View 1 Replies
View Related
Nov 8, 2012
I have an HP 6500A Plus, and it should be capable of printing edge to edge, even on custom sizes. After contacting both Apple (I am running MacOS 10.8 Mountain Lion) and HP for answers, I burned a lot of time with Adobe either just plain not getting an answer because I didn't buy it or being given the run-around. I need to know what Photoshop is doing to block the available capabilities from working.
View 6 Replies
View Related
Jun 5, 2013
I am looking to do a custom border like this in light room [1] . I can do a full border like that as a transparent png file.However if the shot is tight in and has people from edge to edge, the border/watermark cuts them off. Is there a way to add a watermark/border as the background and resize and rotate an image (on a slant) to fit the middle area.
View 2 Replies
View Related
May 2, 2011
Is there any way to print a custom color table without having to either spend $500+ on a plugin or having to draw each color and label by hand?
I regularly create color tables from images, convert to .aco or PS color palettes. Lately I have needed larger palettes and the process of creating these by hand is grueling.
View 3 Replies
View Related
Feb 21, 2013
When inserting a content center part for which we have to choose a material, we would like to have a custom material as a default (material with name: "No material selected"). So when selecting no material for this part (for example when the user forgets to select a specific material), the default material (in this case material "No material selected") will be active. In this way, we can see in one view across the BOM which parts have no material assigned yet.
How can this be achieved in the content center (editor)?
Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)
View 2 Replies
View Related
May 16, 2013
When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.
I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".
View 1 Replies
View Related