AutoCAD Inventor :: API / Create Dimension From 2 Workpoints In IDW?

Sep 15, 2011

I've been trying to create a LinearGeneralDimension on an IDW from one Workpoint to another.

It crashes when i call the .AddLinear

Here is my code snipit.

Inventor.DrawingView dv = FindDrawingViewInSheetByName(sheet, "VIEW12");
if (null != dv) {
 Inventor.WorkPoint p1 = FindWorkPointInAssemblyByName(dv.ReferencedDocumentDescriptor.ReferencedDocument as Inventor.AssemblyDocument, "MR1");

[code]...

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Create IMates On Workpoints

Sep 7, 2012

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?

View 2 Replies View Related

AutoCAD Inventor :: Override A Dimension To Create A Basic Dimension?

Jun 27, 2011

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.

View 9 Replies View Related

AutoCAD Inventor :: Drawing Doesn't Show All Workpoints

Feb 27, 2012

This doesn't work:

oPartDocument.ComponentDefinition.WorkPoints.Item(2)

All I have is one item. (Center Point)

View 1 Replies View Related

AutoCAD Inventor :: Driving Workpoints By Coordinate Values Defined In Excel

Sep 9, 2012

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?

View 1 Replies View Related

AutoCAD Inventor :: How To Create Angle Dimension

Dec 16, 2011

Is there any way to create the angle dimension shown in the attachment without creating a small line in a sketch first?

View 9 Replies View Related

AutoCAD Inventor :: How To Create Dimension Shown In IDW

Oct 24, 2011

how to create the dimension shown in an idw?

View 9 Replies View Related

AutoCAD Inventor :: Create Dimension Angle In DWG Drawing

Oct 31, 2012

I want to ask how to make the size for the angle in the distance between holes. i use the autodesk inventor 2013, I attach an example like this.

View 9 Replies View Related

AutoCAD Inventor :: Create Blank Dimension Style

Dec 10, 2012

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     [          ]

View 1 Replies View Related

AutoCAD Inventor :: Change Dimension To Create Another Part

Apr 20, 2013

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?

View 3 Replies View Related

AutoCAD Inventor :: Create Dimension On Drawing Document Between Two Parts In Assembly

Feb 8, 2010

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]........

View 2 Replies View Related

AutoCAD Inventor :: Cannot Create Radius Dimension On Circular Drawing Curves Projected From Spline Edges

Dec 4, 2011

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?

View 3 Replies View Related

AutoCAD Inventor :: How To Convert Normal Dimension To Driven Dimension Through ILogic

May 28, 2013

I have one problem in ilogic "How to convert the normal dimension to driven dimension through ilogic"

View 4 Replies View Related

AutoCAD Inventor :: Make Radius Dimension Diameter Dimension?

Feb 23, 2013

how to make a radius dimension a diameter dimension? I have Inventor Profession 2013.

View 1 Replies View Related

AutoCAD Inventor :: Make Linear Dimension A Diameter Dimension?

Jan 27, 2012

Is there a way to make the linear dimension a diameter dimension?

View 9 Replies View Related

AutoCad 2D :: Create Two Dimension Styles In One?

Sep 27, 2011

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.

View 8 Replies View Related

AutoCAD 2010 :: How To Create Certain Radius Dimension

Dec 12, 2012

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.

View 3 Replies View Related

AutoCad 2D :: Create 3 Different Dimension Styles For Each VP Scale?

Sep 2, 2013

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?

View 3 Replies View Related

AutoCAD Civil 3D :: Create An Alignment - Correct Dimension

Feb 17, 2013

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.

View 1 Replies View Related

AutoCAD VB :: How To Create Surface Texture Symbol (ACM 2011) On Dimension

Apr 24, 2013

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

View 1 Replies View Related

AutoCAD 2013 :: Create Viewport Of Solid In Layout And Dimension Inside And Outside Diameters

Aug 8, 2012

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?

Inventor 2013
Windows 7 64 Bit

View 9 Replies View Related

AutoCAD Inventor :: How To Add Dimension

Jul 4, 2013

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.)?

View 2 Replies View Related

AutoCad 2D :: Get Dimension Text That Pull Out To Side Closer To Actual Dimension Marks?

Jun 2, 2011

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.

View 3 Replies View Related

AutoCad 2D :: Override Dimension With Formula / Function That Relates To The Length Of Dimension

Feb 10, 2012

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.

View 9 Replies View Related

AutoCAD Architecture :: Avoid Getting Zeros When Creating Dimension Line With Quick Dimension Command?

Dec 4, 2013

How can I avoid getting zeros when creating dimension line with quick dimension command. the Zeros indicates the line itself. how it can be avoided?

View 5 Replies View Related

AutoCAD Inventor :: Dimension In Fractions

May 15, 2012

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.

View 9 Replies View Related

AutoCAD Inventor :: Add Text Before Dimension

Sep 21, 2011

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...

Example:

oLinDim(3).Text.FormattedText = "8" &" SPC'S AT" & vbCrLf & "5 = "

this adds text after the default value of 40...

View 1 Replies View Related

AutoCAD Inventor :: How To Show 0,00 Dimension

Nov 20, 2011

I would like to show such a dimension, like S1 in attachment. It is really value of tolerance of nominal 0 dimension.

View 2 Replies View Related

AutoCAD Inventor :: Dimension Break In Idw?

Dec 21, 2011

How to Create a dimbreak like Autocad in Inventor idw

View 2 Replies View Related

AutoCAD Inventor :: Using The Dimension Tool

May 16, 2011

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

View 9 Replies View Related

AutoCAD Inventor :: Dimension Styles

Jan 9, 2013

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?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved