AutoCAD Inventor :: Macro To Switch Projects And Vaults?
Mar 3, 2010
My system is setup to use different projects and vaults depending on which department one is working. I have been jumping back and forth and was trying to find a macro to quickly switch projects, log out of the current vault, and log back into a different vault. I have minimal experience with macros and none with macros in Inventor . I am using Inventor 2009.
how to add a path to a projects? We got a directory for single part, another one for assemblies and another one for assemblies of assemblies. When I make projects assembly, I need to bring parts for another directory and everytime i do this I need to resolve links.
I am using inventor 2012 but i am not using Vault, I try to understand how to combine or merge many projects together. I got a retraction system that is one project with his own content center, then i got a hood that is another project with his own content center.
Since im going to create many different retraction system and many different hood in the future, to be used in many different combinations. I want to be able to create a master project that includes smaller projects so i can still work all the projects independently.
I have been working on this previous project "A" and I realized a few custom frame profile such as Bosch Strut and Din rails. Now I am done with project "A" and I am moving onto a new project we are going to call project "B". In this new project "B" I setup all my libraries as I would normally do, but once I start creating frames, I do not see any of the custom frame profile from my past project "A" even though I added my libraries, which are identical from project "A" to "B".
I downloaded Inventor 2014. My O/S is Windows 7 Ultimate. In the projects folder there is supposed to be Projects called iLogic 2011 Samples, iLogic 2011 Tutorials, iLogic 2012 Samples, Railing iLogic Sample Advanced, and Railing iLogic Sample Base. None of these PROJECTS show up in my projects editor. Do I have to completely uninstall and reinstall Inventor 2014 to get these projects to hopefully load?
When I go to the project settings and select the configure content center libraries icon, click on the drop down icon of the same name, click the icon, no library window appears. It was working before, but not now, it selects but will not click to produce the library window. All my libraries files are in the same locations as far as application options & projects environmebnt are concerned.I tried running AIP as admin and not admin.
Just noticed 'use style library = No?' no longer exists in 2012 only 'read only' and 'read-write' are come uo when you RMB 'use style library' in the Projects dialog, is this correct or have I made an error during installation?
I would like to use iLogic to switch my design (rather complex assembly) between the 'full' version, a 'simple' version and a 'FEA' version. I'm learning Inventor step by step and did not studies the making of drawings yes.
I'm not sure if it is ok to use iLogic for this purpose because I'm afraid my drawings will update to the simple' or 'FEA' versions. This is not what I want. And when using the 'FEA' version, will the FEA information get lost when I switch back to the 'full' or 'simple' versions?
Or in other words: Is it wise to use iLogic for this purpose?
I work for a large enterprise that has many machines(all the same) that have Inventor 2010 with the 3GB switch enabled. However, when a user tries to remotely connect the machine with the switch enabled, using Windows RDC, they are unable to. After removing the switch, the user is able to remote successfully. Other forums suggested that the "SessionImageSpace" in the registry needed to be edited to allow for the connection, but that did not work for me.
Machine Info:
Dell T3500 Workstation Xeon Quad Core 2.8GHz 6GB RAM NVidia Quadro FX4800 2GB Windows XP SP3
We are looking to switch from SW to Autodesk in order to utilize advanced surfacing in Alias, and its interoperability with Inventor. However, we need to continue to perform Kinimatic linkage studies as well using Inventor. I need to make sure we can perform the same calculations with ease before making the switch.
At this point I am trying to mimic in Inventor the kinimatic studies I perform in SW. In SW I would perform these studies within a single part file, using a single sketch only (no solid parts). Within this part file I would break up the total "travel" of the linkage into configurations that are driven by a "Design Table". The Design Table would be used for both the main driving value, and for any driven values I wanted to use for analysis.
I am trying to find a way to get the same driven variables written to an Excel file to use for analysis using Inventor.
As a test example:
I would like to drive one variable(Damper Length) to get ~20 different iParts, each with the linkage moved to a new point within its set range of motion. I then would like to write several Driven variables(Displacement_1-3 shown in "RULE CODE" attachement) from each iPart instance to an Excel file.
I have been able to get my 20 iParts and the linkage to move accordingly(iPART INSTANCES attachement), but I have not figured out how to write the driven data to excel for each iPart instance(20 rows of data, 3 columns). I have only been able to write the dimesions for one row of data...whichever iPart is currently open.
with the necessary iLogic code or another solution? It seems like this should be pretty straight forward. Do I need to be using the "ChangeRow" iPart Snippet?
Any settings where you can switch on/off the selection filter popup? Mine is just gone. Under application options I don't see anything to do with switching it off.
I have created two table rows in an iAssembly that I would like to have a iLogic code written for.
What do I need to use to trigger between these two, when, for instance, a certain numeric value is entered in the parameters? Within the assembly file, when I use the iPart.ChangeRow (or iAssembly.ChangeRow) and put the . I am filename in the first spot, it says it cannot find the file.
This is what I am using, and the error states it cannot find the . i am file I am referencing.
I am trying to switch component rows within my assembly file but can't seem to do so. All of the files are generated, yet and still I am not able to change component rows based on user parameters. Files are attached.
My code is as follow in Ilogic
MultiValue.Setlist("Material", "1", "2") If Material = "2" iPart.ChangeRow("RING", "RING-03:1") End If
When I am done with a drawing (inventor .dwg), I manually go to "Save Copy As" and select DXF, and using my default options, save the drawing as a DXF on a server (OUTSIDE of vault) that our shop guys can access for CNC stuff. I understand there is a DXF Translator that I may be able to set to do this for me. How to use Inventor add-ins (my translator is loaded, thats as far as I got) or set them as macros. A button on the ribbon to export to DXF would be nice and I may also want to automate this further and have it do it on file save.
We want to change iassemblies in a table using macro. When we change an iassemblies, inventor asks "Do you want to save changes to ......?". There are many iassemblies in our model, so it takes serious amount of time. We can disable all messages using macro, But this time after macro completion, there may be some errors in model, because we dont accept all changes. How can we accept all changes while running macro?
We use SilentOperation property. but in Save dialog, there are some parts indicated "yes" and some indicated "no". how can we change them "yes" and save all dependents?
I trying create simply macro for my work. It is mass rename for *.ipt files and their iProperty.And i need create condition "IF" for this (example 2 files):
Public Sub UpdateDocs()'JDK 2013' Include REF to Microsoft Scripting Runtime Dim oApp As Application Set oApp = ThisApplication Dim oDoc As PartDocument Dim oPropSet As PropertySet Dim FSO As New Scripting.FileSystemObject Dim oFld As Scripting.Folder Dim oFile As Scripting.File Dim Path As String Dim sTitle As String. [code]....
How do you insert macros available in the user community in to the inventor. I tried to open default.ivb file and copied in it but it doesn't work. Any example which shows how to place macros in the inventor.
I would like a few rules to be triggered once the new drawing template is opened.select sheet size, I have been given a rule that already works, basically the rule selects a border and title block based on sheet size selection.
I would also like a rule to let me annotate in metric or imperial. this is where I require assistance. I am not sure the best way to achieve this rule. My programming is very basic.I have found some links here, but I can't seem to make them work in the drawing environment. Also these rules seems to change the units of an already created .ipt.
Rule #1 Link
Rule #2 Link
I am just looking for a rule to select either .in or mm from the styles library(i think) , before I even place a base view. Regardless of the original units used to make the model.
We just updated to 2013 this morning, and my macro isn't in the drop down (All Application Projects and Active Documents) menu like they were in 2012.
I haven't been able to find it when searching either. I created a test macro, and it showed up: C:Userscad1AppDataLocalTempUserProject1.ivb
But still is not in the dropdown in the macro menu. I'm using the same project that I had in 2012.Did installing 2013 remove/write over my maco? I imported my preferences this morning, they seem to be fine.