AutoCAD Inventor :: Using Measure.ExtentsLength In Drawing To Get Model Dimensions?
Mar 2, 2012
Is it possible to use the Measure.ExtentsLength in a drawing to get model dimensions?
What I am trying to do is get the overall dimensions of the model and place them in a sketch block in the drawings so our machinist can easily reference the stock material. I can't figure out how to get the overall model dimensions.
I have a automated ilogic model that is then used within a 2D drawing, this 2D drawing then has dimensions on it referenced to the the model.
This model changes in its length the dimension associated with its length then changes but the dimension text then goes outside of the dimension boundary (does not stay central). Is there any code that can scan the dimensions and in effect tidy them up?
In our “Parts list” (or BOM as we call it) on our .idw’s we have field for “LENGTH”. For example, we use round tubing. We would list the cut length of that piece of tube in the “LENGTH” column. As it stands now, we add “LENGTH” as a custom iproperty in the .ipt. Then in the drawing we add that property to the parts list to capture the length. This works fine, but I’m wondering if we can eliminate some steps by capturing the actual dimension from the sketch to automatically populate the “LENGTH” value. Needless to say, this would eliminate room for error (less typing) and will update the value automatically if length is changed or if the part is copied. I suppose the same would apply for “WIDTH” on sheet metal parts... How do I do this?
I´m trying to measure the base dimensions of simple geometric shapes. I started out with plates since they are easy to measure as long as they sit in 90°, 180° and 270° positions relative to the origin. Then Measure.ExtentsLength, Measure.ExtentsWidth and Measure.ExtentsHeight will give me the base dimensions of a plate.
However, if the plate sits abitrary relative to origin this will obviously fail, since Measure.Extents only measures in x,y,z
Is there any way how I get positions of the geometry that is in the part, like corners surfaces on the B-REP so I can calculate the dimensions properly for a plate. I´m not sure if this is possible with iLogic. I have a strong suspicion VB.net would be needed for this.
Another problem I have is that derived parts don´t get triggered to run a script when I change the geometry in the Multibody Part and the rule is set to run by any modelgeometry change.
I have some users that use Solid Viewer that I am cosidering switching to Inventor LT. I use Inventor Pro. There is a feature in SolidWorks that let's them quickly display the overall extents; length, width, and height for quoting purposes. The tool creates a transparent box around the 3D model and displays these dimensions.
I have been reading here that the preferred mode of generating dimensions on the drawing views is by using "Retrieve" method.
My question is: how can I programatically add dimensions or measurements to the model so I can retrieve them in the drawing view? This has to be all done by code.
I'm looking for a solution to place the overall model dimensions in the title block.
We have a box (Promted entry) in our company title block were we manually typ our overall dimension of a part (or in some cases assembly).
For our planning engineer this is easy because he can easy see the dimensions of the "base material" or the size of a container / box in case of an assembly.
The risk that sometimes people forget to change these dimension when the model is changes.
Now I'm looking for a solution (e.g. VBA / iLogic) to place the overall dimensions Automatically in the title block.
The overall dimensions are available in the "BIM Exchange" menu > Check Design. Maybe these dimensions can be used.
IN Autocad 2013, I'm trying to measure an annotative dimension. When I do it, it doesn't show the units along with the measurement.
For instance, it just shows up 24 when in fact I want it to say 24". Or if it was metric I would want the "m" to show up after the 24. How do I get the unit to appear?
Two different problems (questions). These are IV2012 files but the problems are the same in 2013.
Open the two attached ipt's. Launch the Measure Distance tool and measure between the blue an red face on the DimTest. It should read 1 inch.
Change to DimTest Derive using the tabs on the status line. Measure still gives 1 in. Change precision to All Decimals. The mouse pointer changes to calipers and the distance now measure 1.004 (which is correct)
Switch back to DimTest again using the tabs.
Measure again and notice the mouse pointer still shows the calipers which imply that it is going to return all decimals but the dimension given is still just 1 inch. Either the mouse pointer should change back or all decimals should stick.
OpenDimTest.dwg. Manage> Modify> Replace Model Reference and pick DimTestDerive.
ALL dims disappear and the origin indicator goes sick.
i have a photo with a line near a teeth model which i need to measure. i have attached photo to autocad but how can i setup the real world scale so my measurements will be accurate?
I'm trying to reposition dimensions in a drawing through the API. The output of my code seems to indicate the method is working, but after it runs the drawing is unchanged. Here's the code (in VBA):
Dim oDoc As DrawingDocument Set oDoc = ThisApplication.ActiveDocument Dim oSheet As Sheet Set oSheet = oDoc.Sheets.Item(1) Dim oLdim As LinearGeneralDimension Dim oLeaderNote As LeaderNote Dim oDimLine As LineSegment2d ' Dimension Line Dim oStartPt As Point2d ' Dimension Line Start Point Dim oEndPt As Point2d ' Dimension Line End Point
[code]....
Looks like it moved my vertical dimension left, but it doesn't actually do anything. Is this not a viable method for repositioning a dimension?
I created a sketch then tried to retrieve dimensions in a drawing from the sketch. When I used the retrieve function, no dimensions appeared. I made sure that the box in the Application Options under the Tools tab was checked for retrieving all dimensions upon placement. I have tried numerous ways to retrieve the dimensions, and while I can place them manually, I really need to be able to retrieve all at once as seen on the sketch.
I have been able to use the retrieve function before on files that I downloaded from a website so I know to use the function.
I'm attaching a file which I am having trouble retrieving dimensions. I am using Inventor 2013 educational version.
I'd like to take a set of ordinate dimensions and multiply all the values by 10. Is this possible, without overriding the values and making them static?
The reason I'm asking is because I'm making a flat layout sketch for pockets around a drum. So imagine taking a drum and rolling it out flat. In the direction along the drum I drew it as 1" = 1" and for the circumfrence direction I did 1" = 10° so I don't have sketch that is 13" x 360". So I need to scale the dimensions in 1 direction up by 10.
I got a new computer recently and installed Inventor 11. I found I could not change the drawing dimensions (It chanced in the Edit Box and shown the changes in the dimensions, but after click "OK", the Edit Box closed and the dimension did not change).
I remember there were the similar problems before and I installed KB918118 fixed it. So I tried to install KB918118. But my computer shown a message saying my computer system is newer and do not need the KB918118 update.
I am wondering how best to apply drawing dimensions to a view. I am using VBA (Inventor 2010 x64) to modify a template skeletal assembly and save it. I have succeeded at generating the models, drawings, and drawing views, but have hit a wall when I attempt to automate the process of applying drawing dimensions.
I attempted to use GeneralDimensions.Retrieve with the DimensionsToRetrieve parameter, as I wish to retrieve only a few dimensions. My testing, however, indicated (and the helpfile confirmed) that the DimensionsToRetrieve parameter only work if the DimensionConstraint objects belong to a drawing sketch, and I'm retrieving dimensionconstraints from a model sketch. It appears to me that I will have to retrieve all dimensions and then somehow delete the unnecessary ones. This seems unusual to me--is there a better way? Can I, for example, retrieve a single dimensionconstraint at a time from the model rather than all of them at once? Perhaps its suitable applying drawing dimensions without retrieving them from the model?
I got a new computer recently and installed Inventor 11. I found I could not change the drawing dimensions (It chanced in the Edit Box and shown the changes in the dimensions, but after click "OK", the Edit Box closed and the dimension did not change). I remember there were the similar problems before and I installed KB918118 fixed it. So I tried to install KB918118. But my computer shown a message saying my computer system is newer and do not need the KB918118 update.
I use parametric base-model which automatically generates drawing (look "Pic1"). I change parameters I need and new drawing is generated (scale stays the same). However, dimensions on new drawing are displayed in random way (look "Pic2"). Is there a way (iLogic, VBA or smth els) to fix/link dimensins so - that they could stay in an appropriate way (space between dimensions, space between dimension and edge, dimension is centered on line with arrows) when the model size is changed (in this example I have changed the base diameter from 830 to 1280)?
Function "Arrange dimension" does not solve the problem!
I have an asssembly stack and I have a known bending moment at a given place (ie the datum). I want then to create a drawing of this stack up and show the bending moments at known locations beside the relative dimension.
Now I can do this manually no problem...but I would like this drawing to update automatically. ie the stack up height(s) change and i want the bending moment figure to update accordingly.l
Is there a way to do this with drawing dimensions? ie dimensions created in drawing mode?
One of the drafters I work with has been having an intermittent problem with Inventor 14 deleting dimensions and notes when he prints a .idw to a .pdf. The problem first popped up when we transitioned to 14 from 12. It only happens once out of every 2 dozen or so prints and is usually caught on the redlines, but it has been overlooked once already requiring the part to be remachined at cost to our employer. No one else in our office has had the problem and it continued to happen after a reinstall; which leads me to think it's some hardware issue.
Included is a screenshot of his system information. We're running Synergis Adept file management software, that may be pertinent as well.
I am trying to figure out how to properly define the dimensions of an exponential curve in a drawing to make it easiest to have the piece machined.
I am starting to wonder if inventor refers to this type of curve as something else entirely, as well. Since an exponential curve is like the shape of an airplane wing and doesn't have a "consistent" angle.
I know you can obviously set the tolerance in the styles to round to the nearest 1/16 or 1/32, but is there a way to make it always round a dimension up instead of to the nearest? IV2012
Windows XP SP3 32-bit Intel Core 2 Duo 6400 @ 2.13 GHz Nvidia Quadro FX 3450/4000 SDI 256MB Vram 2 GB Ram 160GB HDD
While working with an Inventor 2013 *.idw some of the dimension lines, extension lines, and learders became invisible, even though you can still see the dimension values and even the arrow heads of the no-show dimensions. Even when printed, the same lines are not there. 2013 Glitch?
I want to retrieve dimensions in a drawing with ilogic. I found some code but how to translate it into a ilogic code.
I always use assembly models in these drawing and all the parameters have unique names. So in my drawing i want to retrieve some specific dimensions in a view.