AutoCAD Inventor :: Get All Reference Document Without Opening Assembly?
Mar 22, 2012
in inventor VBA, is it possible to get all reference documents without opening an assembly file in inventor?
this is i am using right now,
Dim oAssyDoc As AssemblyDocument
Set oAssyDoc = oInvApp.Documents.Open(sAssyPath)
oAssyDoc.Update
Dim oAllRefParts As DocumentsEnumerator
If Check1 = True Then
Set oAllRefParts = oAssyDoc.ReferencedDocuments
Else
Set oAllRefParts = oAssyDoc.AllReferencedDocuments End If
Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2013
Visual Studio Express 2010
View 6 Replies
ADVERTISEMENT
Nov 14, 2013
I always "Configure Default Template" on start-up, changing Measurement Units to mm and Drawing Standard to ISO. After Ok,
"the default template (standard.*) will be replaced according to your selected drawing standard or measurement unit. The original default template will be copied to Old Templates folder as backup. Do you want to overwrite?" Yes.
I have created a series of parts which i have assembled and saved on my USB. I have placed fasteners from Content Center and saved. When i change computer, and attempt to reopen my assembly files, i get a "Resolve Link" window, as seen in attachment, to which i don't know how to respond, and end up clicking "skip all", which results in assembly with unresolved components.
What are the steps i should have been taking to avoid ending up with unresolved components, assuming i cannot avoid changing computer.
View 1 Replies
View Related
Sep 24, 2012
I'm having trouble showing a reference part in an assembly drawing. When said part is set to "reference" it is no longer visible on the drawing.
View 9 Replies
View Related
Nov 7, 2013
I wonder if it's possible to see with ilogic if a part exciste in all others view (in assembly) of the same sheet?
View 9 Replies
View Related
Dec 6, 2011
We have some serious problems by creating assembly drawings with reference geometries in inventor 2010. Our target is, to create a drawing that look the way, the attachment shows (Picture-1) The sheet metal plates Pos 10-100 are an assembly. And the assembly in the back is the reference geometry. It’s a frame consists of steel sections. What we want: 1. The frame must be phantom lined in the idw. 2.
The Sheet Metal parts must be thick lined. 3. The Partslist of the Assembly should only contain the sheet metal parts and not the frame We have some ideas to solve this case, but each of them is nor perfect (please see the attachment Box.pdf) And there’s another problem (described in part 3 of attachment), we cannot position viewports or drawing elements to each other exactly. You have no possibility to give them dependencies. Also if you want to position symbols to each other. All of them are only near to be exact, but that’s a big problem. If you change contents of a viewport, another should be aligned to it, but that doesn’t work.
View 2 Replies
View Related
Oct 26, 2011
Is there a way to set an assemblies bill of material setting to reference through iLogic?
View 3 Replies
View Related
Dec 16, 2011
I am trying to find a simple way to center part(s) to some reference within an assembly such that if any part sizes are changed, then the assembly will stay symmetrical when updated. I would imagine that this is simply possible without adding any constraint containing a numeric value.
See attached part and assembly files showing a 4 piece frame with the angles unconstrained NE to SW. All i want to do is maintain symmetry of the frame if any parts sizes (cross-sectional or length) are changed. I've tried to add a centered plane to the angle and aligning that with a sketch point made in the assembly but i can't select any sketch features when i try to apply an assembly constraint.
View 1 Replies
View Related
Jul 31, 2012
I need to assign the dimension in my screenshot to a parameter so I can use it to drive another assembly. However, I can't find any way to capture it in a usable manner.
In the screenshot I have an associative part inserted that contains only a sketch with the projected line and point that I wish to measure between, but the geometry in the sketch does not update when the model geometry changes. This seems to be normal behavior?
View 3 Replies
View Related
Jul 25, 2013
Can I copy and past an assembley file to another folder in my system,as like as packandgo using inventor api ?
View 2 Replies
View Related
Oct 11, 2011
I'm trying to write my first VBA program for Inventor with very little programming experience. I would like to create a userform which displays the materials list within a combobox.
The problem I have is that I would like the userform to remain open no matter which type of file is active. I would like the combobox to display the material list and current material when in a Part file and display N/A when in Assembly file.
View 3 Replies
View Related
Dec 6, 2013
if there is any way to create a new 'FeatureBasedPattern' within an assembly document. I have 2 assembly occurences - parts. In the Part1 i created a RectangularPattern of workpoints. The Part2 is going to be used in the new pattern. I tried the following VBA code, but it doesn't work.
Dim oPart1 As ComponentOccurrence
Set oPart1 = oAssDef.Occurences.Item(1)
Dim oPart2 As ComponentOccurrence
Set oPart2 = oAssDef.Occurences.Item(2)
Dim oTG As TransientObjects
Set oTG = ThisApplication.TransientObjects
[code]...
The Call function breaks with: "Invalide procedure call or argument". I also tried "Set oAssemblyPattern = oAssDef.OccurencePatterns.etc...." instead of Call function, but with the same result. Same error for declaration change of "oAssemblyPattern" to "FeatureBasedOccurrencePatternProxy".
View 1 Replies
View Related
Dec 5, 2011
I've tried opening an Inventor Assembly file (.iam) with Microsoft Word, Notepad, and Wordpad but there is a big problem with text conversion. When I open them I get radical characters that makes it impossible for me to make sense out of.
My hope was to open an assembly file as a text document and modify it to get a different result when opening the model (i.e.- moving a part from one position to another in the assembly by modifying text). Sort of like when I modify a post processor in MasterCAM to produce a different program with if/then statements or changing text. Ultimately I want to create an assembly model that reflects our inventory as sort of a "virtual warehouse" where a quick look at the model would let you know where you have space to move and store new inventory.
I think being able to modify inventory locations by modifying text and letting the model update would be faster and easier than someone modifying the model at the end of each day with Inventor.
Is there any type of text conversion software that could take an Inventor assembly file and convert it into readable text?
View 8 Replies
View Related
Jul 15, 2011
In an assembly document, I try to add a MateConstraint between male and female side of an 45 degrees elbow. The male side is built on the XZ Plane and Y Axis And I try to create a workplane on the female face.
But a got an error with the last line of code. Here's my code (vb.net code) :
' Get application object
Dim app As Inventor.Application = GetObject(, "Inventor.Application")
Dim doc As Inventor.AssemblyDocument = app.ActiveDocument
[Code] .......
View 3 Replies
View Related
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
Jul 12, 2012
I have an assembly, very simple with only 20 parts max. No components are 'foreign' (all created within Inventor). I had run a few analysis on it yesterday and everything was good. Today I opened up the assembly and attempted to go into the FEA and then the program crashes. No warnings or anything.
Using INV 2013 Professional . I cant attach the assembly as it is sensitive data.
View 1 Replies
View Related
Jun 27, 2013
if this is a setting that needs changed or is a bug of some sort but when i am in an assembly and double click on a sub assembly it highlights that sub assembly and greys out the rest of the model as expected, however if i then right click on a part and bring up the menu and click open it does nothing. It seems as though when i right click, the menu opens and it deselects the part so when i select open it does nothing as no part is selected. I can click on the item in the tree and select open.
View 9 Replies
View Related
Nov 5, 2013
I've created a pdf file (with illustrator cs3). when I try to open it on photoshop CS3 I receive this message:
"error opening the portable document file (PDF) document. error code = 0X20030055"
I can open this pdf file outside photoshop.no problem openning other pdf files on photoshop.
View 1 Replies
View Related
Apr 12, 2012
Microsoft Visual C# 2010 Express..Trying to create first dll in 2013, referenced acdbmgd and acmgd (as usual, as in previous versions) then included:
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
but ...
Error in IDE (Visual C#) when entering: [CommandMethod("TEST")]
Error: CommandMethod could not be found .. are you missing a using directive or an assembly reference
View 4 Replies
View Related
Oct 2, 2012
I have an assembly that was created on 64 bit version of Inventor 2013, the total file size of everything is around 150MB. Even if I use 'Pack and Go' to move the file to another computer running the 32 bit version I get an error when I try to open it which says something like:
'unable to allocate 3GB memory for FBAttributeSegment'
The actually figure is over 3GB but of course on a 32 bit version of windows it is physically impossible to allocate that amount of memory (even with the /3GB in boot.ini hack)
I've performed various dynamic simulations as well as animations within the assembly so I'm thinking that perhaps its trying to allocate that huge amount of memory for a saved state of one of those.
What FBAtributeSegment might be and whether there is any special way to save an assembly to avoid this problem? The name FBAttributeSegment doesn't correspond to any part or assembly names.
I should also add that I have no problem opening it in a 32 bit version of Fusion which again suggests to me that it is something like simulation or animation that is causing this
View 4 Replies
View Related
Mar 29, 2013
Using Autocad - I am not a designer or engineer so have no experience using the software. I am working on a translation of an autocad file. However when I open the document I can only see the 'front page' of the document and Can't find any way to navigate through the different pages (even if I know there should be a lot more than 1 page)
I realise it sounds like a stupid request, but as mentioned, I have no experience with this software.
View 7 Replies
View Related
Feb 11, 2013
I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.
View 4 Replies
View Related
Jun 6, 2012
I am using INV 2012 and I wan to to know a trick how to convert the weldment assembly back to regular assembly template.
View 1 Replies
View Related
Jul 10, 2012
I'm looking for the best way to create a separate assembly out of various component parts in an existing assembly so that the whole thing can be placed in an assembly as you would a part, I know it's possible to demote components within an assembly but are there any other methods similar / better ?
View 2 Replies
View Related
Sep 18, 2012
We have an iLogic assembly with to parts in it. Maybe to cylindrical parts. The iLogic rules should do the following.
1. Start a Rule after open document.
2. This Rule starts a Rule in the first cylindrical component.
3. This Rule ask the user for a diameter.
4. The assembly gives this new parameter value to the second component
5. Then the assembly calls another rule in the second component to change it with the new parameter
Everything is working fine when the following combinations are taking place:
1. I open up the assembly out of vault or from a local drive or an accessible server drive
2. I insert the assembly as sub assembly in another assembly from a local drive or an accessible server drive
It don't work with the following situation:
- I insert the assembly as sub assembly in another assembly out of vault
Then the user becomes the dialog "Choose a diameter" twice.
I don't know why, but I have the idea it has something to do with the functionality of inventor to insert a component more than once. If you insert a component in an assembly Inventor gives you the opportunity to add more than one occurence after each other.
change that behaviour? Maybe a switch to change that inventor "add more than one occurence" behaviour.
View 1 Replies
View Related
Feb 9, 2012
I have encountered a problem with the Tube and Pipe styles.
As you can see, I have a rack assembly with a custom tube and pipe style. A wire as a tube in orange, and a tube support in white. Both have their seperate colorations at a style in the tube and pipe styles editor
When placing the rack assembly into the main assembly, it reverts to the coppor coloration I changed from the original style.
Steps I've taken:
Exported the styles .xml and Imported the styles into the master tubeandpipe.iam
Imported the user created .xml styles into the main assembly file nothing seems to work
View 8 Replies
View Related
Apr 23, 2012
I am trying to find the interior volume of an assembly (when am I not?!?!) by subtracting the assembly from a block that surrounds the most of it. Somewhere the assembly has a "leak" and I have been trying to use the Cross Section Analysis to track down where the inside lump is connected to the outside lump to be subtracted. Is there a less time consuming way to dynamically drag a plane across and get cross sectional views?
Even better is there a simple way to animate the analysis plane moving across the block so I can hopefully just watch and pause it when I find a leak?
Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013
View 2 Replies
View Related
Oct 30, 2012
it is possible to make a constraint that utilized a parameter of a part within the assembly.
For example, if I wanted to use the thickness of a plate, which I defined in the part, could I call that parameter in a constraint?
View 1 Replies
View Related
Oct 31, 2011
My assembly has grown (about 50 parts) to where I need to consolodate some parts into subassemblies for reuse and alternate iterations of the basic design.
When I import the original parts into a new assembly, all of the constrains I created are not there of course.
I've tried creating a new empty part and then deriving a new part from the assembly, but I can't add, delete or edit any parts.
I looked at using Shrinkwrap, Substitutes, iParts, Multi-body Parts, and Multiple Solids but I remain confused.
In retrospect, maybe I should have created the subassemblies between the part and assembly stage but I didn't.
View 4 Replies
View Related
Nov 9, 2011
I want to be able to control the location/position of a component in an assembly. This is easy enough through the iProperties/Occurrence tab and then adjust the location of the X,Y, and Z offsets. Is this possible using iLogic? I have been unable to find a function to access via iLogic. Ultimately I am trying to translate a component about an axis not a pattern.
View 1 Replies
View Related
Nov 28, 2011
Can I select a bunch of parts in an assembly and say "save these pieces as a new assembly"?
It is just such a needed tool but I cant find an easy way to accomplish this.
View 2 Replies
View Related
Oct 3, 2013
I have a two part duct fire damper assembly. The IDW has the combined two part assembly, which I know how to turn the CoG on, so that it can be dimensioned. The problem is each piece will more than likely be hoisted separately so I would like to show the CoG for each piece, not the combined master assy.is there a way to do this?
Inventor 2014
Windows 7 Pro SP1
Intel(R) Core(TM) i7-3770k CPU @ 3.50GHz
16GB RAM
NVIDIA Quadro 4000
3D Connexion SpaceMouse Pro
View 5 Replies
View Related