Would like to know if it is possible to access properties of Hole features through iLogic and create my own selection dropdown for holes on a form, similar to the dropdown I was able to create by accessing materials iProperties?
Or, even better, is there a way to cause the hole feature dialogue to run during the execution of the rule for a specific hole feature? See attached for more explanation.
Is there a way I can write some code, so that in idw, I can choose from two different text for "Description" in BOM table? My work place requires to show material information when it's a fabrication drawing, to show part description in assembly drawing in "Description" column.
At the moment, we just override material information (for example, 40x40x3 RHS) to part description (RHS Spreader). It's not very safe to do that. Most of the times, we just forget to change it.
Autodesk Inventor 2013 SP1.1 64-Bit Vista Business 64-Bit E8400, 8GB, ATI FireGL V5600
I would like to know if it is possible to use iLogic to change the Hole Type from Through to Tapped as conditions dictate. Is this even possible? I already have a backup plan but wanted to check out all possibilites before I proceed. Using Inventor 2012 SP2.
In ilogic it's easy to suppress features like holes, but I cannot combine iparts with Ilogic, so I try the same in VBA, but I don't know the way to do it
Is there some existing sample code like this ilogic one for VBA?:
I have a form used to select from pre-defined settings (case statements in the rule) and custom entry.
I have a drop down that provides the selections from the pre-defined stuff or custom with fields that show the results.
If custom is selected the user is prompted to enter data in popup dialog boxes which all works fine but I would rather select custom and enter the data in the fields on the form than in the popup. can that be done?
See the png files
I want to just enter the data in without the popup box
I've got a template with a set of Object defaults for an Inch drawing and a set for a Metric drawing. I've just noticed that within my metric set, if I insert a hole table with tapped holes, the font on the tapped holes doesn't match the other hole types. I'm searched around, but all the settings for the hole table style reference the same text style. (Please see the attached image.)
So is there a way to set a certain hole type to have a certain font or size within a hole table? Because if there is, I'd obviously like to remove it..... But I can't seem to figure out where the issue is.
I am trying to add a hole to an existing hole chart. I drop the part into a new drawing, set the ordinate "zero", and add a hole chart by selecting a few holes. When I attempt to edit the chart: click chart, right click "edit", click add hole, select new holes, right click to create, the "create" selection is greyed out and all I have to choose from is cancel. I searched the forum here but could not find a reference to this a know issue. Am I doing something wrong or is this a glitch of 2013.
We are running win7 x64 machines and this happens on both the 2013 Ultimate and Premium editions of the product.
I have had this problem intermittently for a few weeks since going to Inventor 2013 SP1.1. I have a part within an assembly and that part has holes created in it before assembling it with other parts. Now when I try and create a hole table in a drawing of the assembly I cannot select hole edges and the hole table is blank when trying to create it automatically from view selection. I originally thought it may be an alignment issue but I have since aligned everything correctly and it still persists. I can create the hole table if I import in just the part into the drawing but it will not allow me to create the table on the whole assembly.
I can also create the hole table if I use "centred pattern" and create cross hairs on all of the holes however it does not give me correct annotations for the holes as shown in attachment and I can manually change the annotations but seriously this should not be required. As shown in the screen shot it reads as A1 down to K1 instead of A1 to A10. .
Question: Is it possible to control the Hole Dimensions called out on the Hole Chart? As in controling leading/trailing zeros for main hole dim, alt home dim and tolerances? Can you combine the Main Dim with the Alt dim in a single column, separated with parentheses? (same with tolerance?)
I would like to use the hole command to place a hole in a part. When I place the hole it won't allow me to use one of the origin planes to locate the hole from. Can I only locate holes off edges?
I have an assembly that contains a part and a hole feature (the hole feature is at the assembly level). Using the api, I'm trying to get the hole location relative to the part's coordinate system in a without using the holeplacementdefinition.distance property, this way I can get the hole location regardless of the way it was defined.
In the properties and quick properties dialog box the drop down box that shows diffrient arrowhead types to choose from have disappeared, and is blank.
I then created a Custom iProperty which consisted of the following "formula": Finished Material Size = <Thickness> x <Width> x <Length> Lg.
eg. of Finished Material Result : Finished Material Size = 6 x 25 x 300 Lg.
The problem comes up when dealing with diametrical components as the above formula will only populate for square or rectangular parts. Which would work if I could use iLogic code to populate the Finished Material Size iProperty. I have tried but failed.
First I created another user parameter called "Geometry Type" which has a drop down selection of either "DIA" or "SQUARE, RECTANGULAR".I then created the following iLogic code to set 0 as the value for the "unused" size parameters
If PART_GEOMETRY = "DIA" Then WIDTH = "0"If PART_GEOMETRY = "DIA" Then THICKNESS = "0"If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then DIA = "0" The part I just can't get to work is as follows.
I need some iLogic code which will populate the "FINISHED MATERIAL SIZE" custom iproperty with one of the following based on my "GEOMETRY TYPE" selection. "DIA" would return the following to "FINISHED MATERIAL SIZE": = Ø <Dia> x <Length> Lg.
While "SQUARE, RECTANGULAR" would return the following to "FINISHED MATERIAL SIZE": = <THICKNESS> x <WIDTH> x <LENGTH> Lg.I tried the following code but it does not work:
If PART_GEOMETRY = "DIA" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= "Ø"DIA "x" LENGTH "Lg."If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= THICKNESS "x" WIDTH "x" LENGTH "Lg."
Is it possible to access the Selection "Style" dropdown (Normal, Fixed Ratio, Fixed Size) through an action or a shortcut? I can't seem to find it when I try (ultimately I want to make a custom panel, with a button for the style, in Adobe Configurator).
In the properties drop down list for wall type selection, most of the different wall type are not showing. Also my elevation carmera is not showing when i click on a new drawing. In a previous drawing all walls selection type is there and the elevation camera. Only when i start a new drawing when wall type and elevation camera is missing. I check the interface to make sure the boxes are check.
We just updated to 2013 this morning, and my macro isn't in the drop down (All Application Projects and Active Documents) menu like they were in 2012.
I haven't been able to find it when searching either. I created a test macro, and it showed up: C:Userscad1AppDataLocalTempUserProject1.ivb
But still is not in the dropdown in the macro menu. I'm using the same project that I had in 2012.Did installing 2013 remove/write over my maco? I imported my preferences this morning, they seem to be fine.
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.
I have a flexible sub-assembly in my top assembly. Sometiems I'm trying to demonstrate to others how a mechanism in the sub-assembly works using this flexibility feature. It works great, but when I move just one little part of a flexible assembly, Inventor displays the wire-mesh of the entire flexible assembly, because technically the entire assembly is selected, even though I'm only moving one part. It clutters up the screen very badly, detracting from what I'm trying to show.
Is there a way to prevent Inventor from displaying the selection lines? Either only when I'm moving a part in a flexible assembly (which would be great), or to just turn them off completely when I'm presenting like this? I know I can turn off pre-select, but that doesn't work, because once I start moving a part in the flexible assembly, the assembly is "selected" and the wire-mesh displays.
I am working on some VB code to reterive the dimensions fron an IDW and put them on an excel spreadsheet for an Inspection report. I found some code to which gets the linear dimensions and have added tolerance type and tolerance bands.
I have been unable to get the hole notes off the IDW. Got the general notes to work with the following
Dim invDrawNotes As Inventor.DrawingNotes Dim invActDrawNotes As Inventor.DrawingNote Set invDrawNotes = invActSHT.DrawingNotes
Is there a way to tell Inventor to use the mean value for threaded holes? As it is IV always puts the Minor-min value for the hole size, which is a PITA for any and all CAM software.
The thread data can be extracted in CAM, but the hole size still remains what it's modeled as. I know I can edit the spreadsheet and cheat it, but that isn't exactly the correct way to go about it.
I'm trying to get hole tolerance by Inventor API using c++ but the value returned is not correct.
the code is:
Parameter* diam = m_Feature->GetHoleDiameter(); // m_Feature is a given HoleFeature double tol = diam->Tolerance; // returned 1.0 BSTR str = diam->Tolerance->HoleTolerance; // returned "0". // The correct value is 2.89
I want to use the Hole command to place tapped holes to hold a pair of shafts in place inside a part using setscrews. I can make the holes for the shafts without issue. While cutting the holes for the setscrews I thought I could use the "To" Termination option and select the shaft hole as the terminating plane. However, when I do this I get en error:
"The attempted operation did not find any intersection between the Toolbody and the selected 'To' termination face/plane. Change the termination definition or the feature (profile) position."
I can work around the problem by using the fixed "Distance" termination option but this is obviously inferior as it would require manual adjustment should the shaft holes need to be repositioned. Am I missing something?
I picked the ADSK-METRIC-120 to change the hole size from 25 to 120, but the new hole size ADSK-METRIC-120 is RED color and I cannot refresh or finish it. why size 25 worked, but not the 120?
My part does everything I want with threads but the other option I need to program is a straight hole with no threads. I assume I can do this with Param for the existing hole but not sure what it would be called? Is there a list or method of determining what these parameters are called so I'll be able to find them in the future?
Is there a way to do this? 2 parts, 1 has a hole in it and the other has a slot. I want to constrain the center of the hole to the center of the slot. How do I do this?