AutoCAD Inventor :: Extract Drawings Based On 3D Model
Jun 2, 2013
Our team is doing program customization in Inventor 2011 that extract drawings based on 3D model. When the program runs and reached the line that has either open, close and save method, Inventor program automatically terminated and “Inventor Send Error Report” appears. When we tried to debug the program and when it reached the line that has either open, close, and save method, we force to exit our customized program but the same case, when it is totally terminated, Inventor program also terminated and “Inventor Send Error Report” appears. When we investigate the problem, we tried several solutions such as setting the active document to new variable, added a method to pause the program for few seconds, etc but still no effect.
Is there a VBA for Inventor that is intended for 64 bit machine? Because I think we use 32 bit VBA in Inventor. What does “Inventor32bitHost.exe” means in task manager? Is there any relation to Inventor VBA?
?How can I extract from any model the amount of time it took to create it?. I remember way back that generic Autodesk had in its properties the amount of edit time per file. Does Inventor have any such file or is it located in some hidden area?
I'm trying to extract the Rev of a model (part or assembly) from a drawing. Since Inventor has independent revs for the model and idw I am trying to drill down and put the rev from the model referenced. I got it to work for ipts and many iams using:
Dim oModelDoc As Document Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument
The problem I have is when the drawing only references an ipn presentation file. The ipn ALSO has it's own independant rev! I'm trying access the model the ipn references but cannot get it to work.
BTW, I do know about the ability to sync idw and ipt properties. I have enable it for our template but we have a lot of legacy drawings that don't have this option selected. I also haven't tested that method with an drawing that only references an ipn.
Code is below with offending section in bold:
' Find model (part or assembly) referenced by drawing if active document is a drawing If oDocument.DocumentType = kDrawingDocumentObject Then Dim oModelDoc As Document Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument
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."
I've recently been given a *.dwg file that seems to contain a 3D model composed of blocks. I'm a long-time SolidWorks user, and in my parlance, what I've got is an assembly composed of individual parts.
I need to create a 2D version of each 3D part. Currently, my process isCut & paste 3D component into new document.
Select all and perform 'flatten,' removing hidden lines. Select all and explode.
Manually remove a zillion duplicate and unnecessary line segments. Manually fix radiused / filleted corners, which have become a bunch of little straight line segments. Draw a polyline around the whole part. Run 'boundary' to create a new polyline approximating the original shape.
Clearly, this is not very efficient - nor does it produce an exact 2D duplicate of the face of the 3D part; what I get is a close approximation. I don't use AutoCAD to do 3D work, but I assume that, much like SolidWorks, a 2D sketch is created first and then extruded into the 3D objects.
This, in turn, leads me to believe that there ought to be a way to extract that 2D sketch intact for use elsewhere. How should I go about doing this?
I want to set up my drawings so that the title block displays properties from the model. I want to set this up so there will be drawing properties to extract into Vault. So I want to know what other Inventor and Vault users are doing to get model properties into Inventor drawings: Using model properties in the title block and nothing to extract in Vault or Copy model properties so Vault has data to extract.
I want to know what the best in class practice is? What are others doing? I do not want to use iLogic I was out of the box Inventor functionality.
What is Purpose or use of families Template <Metric Generic Model two level based>? Do ceilings are used to make Or decorative elements of the ceiling?
What is the best way to get 2D drawings from a 3D model? Flatshot will give a flat view but it does everything in the entire drawing and brings every line with it.
Is there an easy way to get a 2d drawing from one thing in a 3D model? We only have Autocad, no extras like Revit.
My company tasked me to design a new paint applicator, then make dimensioned drawings of it so they could get quotes for it's fabrication. The problem was that my company only has AutoCad 2008 software, and all of my modeling experience has been with the AutoCad Inventor software. I managed to make a 3D model of my design, though I am sure it has an obscene amount of drawing mistakes, due to my inexperience with the program.
I now need to convert the model to 2D drawings and dimension them. I know how to use the flatshot command to create the views, but the model has a internal pipe component that will need a section view to dimension properly.
How to set up the section view with the proper hatching and such. Proto Paint Wand Nozzle (exact).dwg
I want the section view to cut through the pipe section and the nozzle.
When I attempt to plot one or more of my drawings in model view to pdf the plot will show gaps in between the edge of the paper and my border. The plot will vary per drawing but limited to the ledger and tabloid paper size, the plot area is set to window for the area the border contains, and the plot scale is fit to paper.
I was working in model space and when I hit zoom extents, I lost all of my drawings in model space. They must be there because I can see them in layout, but I am not able to locate them in model. For some reason my cross hairs and the ability to draft have disappeared too. I am sure I must have hit a setting that needs to be changed back.
I recently joined a firm that has been working drawings up in meters in model space
The issue comes that when i go to input a scale at the viewport stage the drawing is tiny. Ive always worked in mm and thus never had this issue when using the standard 'z' enter 's' enter 1/##xp' to achieve the desired scale
i would like to understand how i can still work these drawings without scaling everything up in model space at a factor of 1000, which is the only way i can think of getting round this issue.
I'm currently working on a project that requires modelling in revit but exporting the final drawings in Autocad format. As a requirement from my client, I am demanded to export the entire paper space into the model space as Autocad entities.
When I export the drawing, the composition that I model in Revit is shown in the paper space, Is there a way to automatically export this composition into the model space?
My problem today is that I made a Model of a Part of a ship using surfaces rather than solids because the engineer thought it would be easier to bring into ANSYS program for analysis but he is now having a problem with it and I am looking into converting my current model to solid. I can do it but the method I thought of using is quite long winded and we are working to a tight deadline.
1.open up the surface part
2.use "Offset/Thicken"
3.any clashes between parts make a sketch and cut away.
the problem is the amount of plates I have and the time it takes to sort them out.
I was trying to make new .idw (inventor) templates based on .dwg (autocad) templates. For some reason the type face Simplex is not showing correctly on screen and on print outs. I have checked on various machines and result was same.
I will make a detail drawing of the parts in the assembly.
In the detail part IDW I would like to have the qty needed for the assembly 1,2,4 ect.
So how I think the ilogic should work.
In the detail drawing have a rule named QTY when ran auto or manually Will pompt to pick the Top Level Assembly the parts are in.
The user will look for the top level assembly select it.
The rule would filter out all parts but the detail part number and return the QTY of parts needed for the assembly.
I only need the Qty.
I know this is done by the number of Occurrences in the assembly this I can find but what I can't find is how the user would look up the assembly and set it to parts only.
Like the pic below when doing a parts list.
I don't need the select view because it is a part and it would return QTY of 1 but the assembly may have 5.
I'm trying to setup an assembly based on a complex 3D sketch. In simplest terms, if I have a sketch for the perimeter of a house, I'd like to add instances of a 2x4.ipt at specified locations automatically. That's not necessarily every 16", but rather wherever I put a specific geometry. I'm imagining two work axis or sketch lines, one along the perimeter to determine the location of the 2x4 and one perpendicular to determine the direction the 2x4 points.
In actuality my sketch won't be a rectangle, but rather a complex 3D spline, that's why I'm hoping to get some sort of automated process. And the current design involves somewhere on the order of 1500-1800 2x4s. Making the sketches and geometry will be nightmarish enough, I'd prefer to be able to breeze through the assembly portion.
On a daily basis I work with two different types of drawings; machining and fabrication. The machine shop prefers dimensions in decimal inches, and the fab shop only understands fractional inches. Is there any way to set up the styles/standards/templates to allow me to pick out which type of drawing I am creating and have Inventor use the correct object defaults for the dimensions?