I'm working in Inventor 2012 and new to VBA and I'm gonna kick myself if there's a really easy answer to this. I've got 120+ WorkPoints on corresponding WorkAxes on an irregular pattern both horizontally and vertically. I'd like to Select all the WorkPoints and add a mate Imate then all the work axis and add an insert imate to ease placement of a part at each location within an assembly (this scenario crops up quite often).
I've been trying to use AddMateiMateDefinition but it doesn't seem to let me pass a WorkPoint to it, is it possible?
Is there a way to override a dimension and have it shown as a GD&T Basic dimension. I can override a dimension with the text option but not with a box around the letter. It sounds strange to do this but the letter represents a dimension in a chart format that are Basic dimensions.
I'd like to drive the position of workpoints by coordinate values defined in Excel. Inventor allows me to initially create them using values from a linked spreadsheet, however the positions do not change when the spreadsheet is updated. Is there another technique that could do this?
I'm using Inventor 2013 and I'm trying to create a new dimension style that shows a box or parenthesis rather than a dimension. The purpose is so the workers in the field can measure a part and fill in the dimension.
So far the best I can do is make a dimension style that is white so that it comes out as a space. The other option was to manually override the dimension, but I don't want to go into every drawing and change every dimension.
What I would truly like is if the dimension would automatically come out looking like this [ ]
I like to change the dimension of the length from 388mm to 400mm to represent another similar part with another part number. Yet I still need the old part.
What is the easiest way to do so? When I use 'save as" and then change the dimension, I need to recreate the dimensions in the dwg files. Is there a way to avoid creating the dimensions?
From a VB.Net program, I'm trying to create a dimension on a drawing document between two parts in an assembly. I can get the parts using component occurrence. The line marked below throws the following error: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).
As you may see, I have allocated memory for both "Edge" and "Face" (Dim oEdge1 As Face) albeit one is commented out. Attached is the screen shots from the attribute helper add-in. In it, you will notice that the attributes are of type: "Face".
Public Sub CreateDrawingDimension(ByVal Part1 As String, ByVal Part2 As String, ByVal AttName1 As String, ByVal AttName2 As String) ' Get the Active Drawing document Dim oDrawDoc As Inventor.DrawingDocument oDrawDoc = invApp.ActiveDocument [code]........
API enhancement/fix in SP1: Cannot create a radius dimension on circular drawing curves projected from spline edges.Does it in some way trying to refer to the issue with nonplanar arcs turning into splines in drawings saved-as AutoCAD .DWG?
I want to have two dimension styles in one dimension line. The first style would be a point to point dimension with the text centered and above the dimension line. The second style would be a running dimension to each point with the text over the second extension line and above the dimension line. Right now I am using two seperate dimension lines, one on top of the other. I'm trying to find a way to combine them into one dimension line so that I won't have to dimension the same thing twice.
At first I thought that using alternate units would work, however I was not able to find a way to seperate the two dimensions. Also, I didn't see how to make the alternate units a running dimension.
Im drawing the image below for school but I cannot figure out how to create the radius dimensions as they shown.
The only ones I know how to do are they .25 and the .75 diameter. I have tried changing the dimension style in every way I can think of. Just to clarify the 1.31 and .63 radius demotion how the leader starts in the center and the arrow is on the inside of the circle yet the text has the extended leader and is outside the circle and the other radius demotions the text is in the middle of the leader is what I am trying to learn to do.
I always put the dimensions and text leaders in model space, is it true if I plan to have 3 different viewport scales, I would have to create 3 different dimension styles for each VP scale, it’s quite hard to predict in advance which VP scale that I am going to use, Let say I am going to use 1/8”=1’ what is the simple math formula to use?
I have a drawing and want to create an alignment in Civil 3D. I have my line, which is 987.83' long. However, when I create the alignment, the stationing runs from 0+00 to 118+53.92 instead of 0+00 to 9+87.83. This is a factor of 12. The properties tab reports a length of 11853.92 for the line as well. However, when I dimension the line, it displays the correct dimension that I want in feet.
How can I create a surface texture symbol (ACM 2011) on a dimension using VBA without interactively selecting the dimension?I have a point on the dimension and the entity name / handle of the dimension which I want to pass to the VBA function.
I am using the code from Introducing the AutoCAD® Mechanical API, Wayne Brill – Autodesk URL....While this code interactively selects the point and the line (dimension in my case), I don't want to use interaction. Instead I have lisp variable.
I have used the vlax.cls to convert the point to a variant and handle to an object. (I could use Users variables instead with more complex code). This works well but the code fails at the line:
oSurfSymbol.AttachGeometry dimHor, pt
This is because the method requires IMcadLine object I have IAcadLine2 object
Having trouble with diameter and radial dimensions since upgrading to 2013.
For example, draw two concentric circles and Presspull (or Extrude and Subtract) so that you get a hollow cylinder. Then create a viewport of this solid in a layout, and try to dimension the inside and outside diameters.
One of the two dimensions will work properly (seems to vary which one). The other will magically "jump" when placed (ex. the OD dimension will jump and become the ID, or vice versa).
How to resolve this? Our guys are having to do absurd things like redrawing the circle in paper space and dimensioning to it with a scale factor. Is this some sort of 2013 bug, or a setting?
How do I add a dimension so that it shows both metric and imperial, with metric first, but has the appropriate units after each. Ie. 1.0mm (0.039 in.)?
I'm trying to get the dimension text that I pull out to the side closer to the actual dimension marks. The 2 1/2" and 2" shown have a minimum distance they can get toward their dimensions. I would like it to be about half of what it is, but so far I haven't been able to find the property that changes that.
Is it possible to override a dimension with some sort of formula or function that relates to the length of the dimension?
A simple linear scaling might be possible by inventing a new unit with the appropriate conversion ratio, but that wouldn't work. What I need for the dimension to display a length 400 less than the actual length.
I teach 8th grade tech and we use inventor I needed to display in fractions went to help menu. told me to go to styles & standards and then to styles editor as the help menu says and in the dialog box on the right is the browser it has in it color, lighting, & material. the help menu says there should be dimension to change the style to fraction but it not there.
How do you add text before a dimension in the idw environment? For example, I have a dimension that shows 40".... I want to add text before it to say something like.... " 8 Spaces at 5" = 40" ".... The 40 would be the default dimension value, everything else I want to add to the dimension... I have added tons of text information behind default dimension values, this is the first time I need to add the text before the value and cannot figure out how to get it to work...
I was wondering if there is a good way to get the perpendicular distance from a face to a point in a model. I know that solidworks always shows a triangle when you use the dimesion tool so you don't always have just the diagonal dimension. I know this may be a little hard to understand so i've attached a picture of what I'm talking about
I created special dimension styles in Inventor 2013 in a drawing and trying to get them into another Inventor drawing. Can this be done like in Autocad by coping to the clip board and pasting into the new drawing?