AutoCAD Inventor :: Copy Assembly Document To Another Folder
Jul 25, 2013Can I copy and past an assembley file to another folder in my system,as like as packandgo using inventor api ?
View 2 RepliesCan I copy and past an assembley file to another folder in my system,as like as packandgo using inventor api ?
View 2 RepliesI often want to copy a design (assembly plus used parts) to some other folder as a quick start for some derived work. I want to be able to work on this copy without influencing the original and visa versa.
The problem is when copying with the windows copy command, the references to the parts point to the original folder. I read that you can use the Copy feature of the Vault for this. But I'm not using the Vault and don't want to.
Pack and Go is also not a good solution because it copies a lot of other stuff and makes a new project file. How can I do this. It seems so a simple operation. But I can not figure out how to do that!
Every time i open the view rapp folder the relationship folder will open too. If i will close the relationship folder...and open again the view rapp then it repeats.
The problem is that my assemblies has many parts an a lots of constraints...so my browser is quickly full of constraints visually. I use a lots the view rapp...so there is away to maintain the relationship folder closed ...or open only when i will click on it?
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
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.
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".
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?
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] .......
How to copy an IAM & several parts to another folder (I created a new project folder for them) using DA without messing up the original file structure. I'd like to change the new IAM file name & only several of the parts that are not common to the original (Stand alone environment, no network).
View 5 Replies View RelatedIs there a setting or something somewhere that turns off/on the display of the origin folder? I have rebooted and restarted Inventor. For some reason, I can't get see the folder. Even when I edit a part, it is not there. See attached images.
View 5 Replies View RelatedFrom 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]........
What is the proper way to copy a project to a new folder and the projects not be linked in any way to each other. In other words I want to have a completely independent project that I can make minor changes to without it affecting the original project in any way because no matter what copy method or pack-n-go I have tried, the link is still there from the new project to the original. How do i break that link.
AutoCAD 2013
Inventor 2013
Windows Pro 7 x64
Asus Sabertooth X58
Intel Core i7 960 @ 3.2 GHz
24 GB ram
How may I best reuse a legacy assemlby and it's drawing to create/update to an vairant assembly?
View 3 Replies View RelatedIs there an easy way to copy an assembly that has sub-assemblies within it. Make changes to that assembly and some of its sub-assemblies and have no effect on the original.
View 2 Replies View RelatedI like to copy an assembly and save it under different number or name but the assembly made of huge number of parts. In order to re-name the assembly I have to go through each part and re-name them first.
Is there a way to re-name the assembly and parts all at once. I know there is a way with "pack and go" but i don't know how does it works?
I`m working on the code that reads a list of virtual parts from Excel and adds required qty into the assembly. So far it looks good, I just need to know how to create a folder in a Assembly view tree and save virtual part in that folder instead of placing it in the root.
Dim occs As ComponentOccurrences
occs = asmDoc.ComponentDefinition.Occurrences
Dim identity As Matrixidentity = ThisApplication.TransientGeometry.CreateMatrixDim virtOcc As ComponentOccurrencevirtOcc = occs.AddVirtual(sVirtPart, identity)
I have created multiple assemblies using my favorite thing - the frame generator, and I want to copy the entire assembly and use it to represent another model for the next customer while still preserving the original assembly. If I recall Vault has a way to do this by using Copy Design. Since I am not using Vault is there another way to do this?
View 5 Replies View RelatedLooking for views on what the best method is to copy a selection of parts in IV 2013 which will result in the copied selection to retain it's constraints ? I have an assembly which I have used the mirror method on a batch of parts, also used the standard copy method and pattern components.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
I have a iLogic assembly with some parts and sub assembly. I need to do a copy of this " Generator " to apply the result later in other assemblies. (something like a member of a ipart or i assembly).
Is there any way to do the copy the assembly to a new folder without the suppressed parts and subassemblies (wich are suppressed in the initial main assembly by iLogic rules)?
I tried to use "Pack and go" and "iLogic design copy", but they always bring the suppressed parts and assembly's, to the new folder and which i don't need to apply in the other assemblies.
I have an assembly with a few parts inside and want to create a new part(hose) in the assembly and link some faces from other parts within the assembly to my new part to show the routing of the hose.
Can I link faces within an assembly to one of the assembly components.
here's a macro I wrote to copy the filename to the Part Number iProperty for all parts and sub-assemblies contained in a top-level assembly. I wrote this after using a bunch of custom iParts and all the Part Numbers were the same for each part! (my fault of course, but a pain to fix one at a time).
Public Sub SetAllComponentPartNumbersToFileName()
Dim oAsmDoc As AssemblyDocument
Set oAsmDoc = GetActiveAssembly
If oAsmDoc Is Nothing Then Exit Sub
SetAssemblyComponentPartNumbersToFileName oAsmDoc
End Sub
[code]....
When importing something off of a DVD or CD how do I direct Lightroom to copy the imported images or folder to a specific folder on my hard drive? It seems to default to MyCatalog but leaves the location on the CD rather than copying it to the drive. If I remove the CD the images is reported as missing.
When I go to the top of the screen for importing I can change the source but the location info on the right is not active or changeable.I am new to lightroom and coming from Photoshop Elements background.
I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.
View 4 Replies View RelatedI am trying to copy big assembly with its folders from one folder to another.I cant use Copy Design because I get too long path error.
Alternative way of copying files and keeping its relationships?
I create an I part and I noticed it creates a folder within my main folder. This introduces a bit of chaos into my folder structure, is there any way around it?
View 5 Replies View RelatedI 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 RelatedI'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 RelatedWe 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.
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
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
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?