I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.
The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.
I have a folder that contains subfolders, then more subfolders. All these folders contain Inventor files. There are few different models there with drawings and related files...
I need to make an exact copy of the folder at different location in Vault. To use Copy Design tool, I would need to do it few times, as there are few totally separate files in the folders.
Now, is there a way of taking main folder with its all contants and just copying/renaming it to other location? It would save me lot of time.
I have two questions - one simple and one more complex, in my opinion. As of now I have a user form where one can enter a variety of values, hit a button, and it writes these values to a designated excel sheet. My first question is how would I be able to allow the user to change one value and have the rest of the entered values change based on this one value. For example if someone were to change the ID # of a part then the height and width would change corresponding to that ID number and would be displayed in the user form. I'm new to VBA so my thought process is kind of trash at the moment...
My second question is whether or not it is possible to write a vba program/macro that automatically utilizes iLogic Design Copy and makes copies of an assembly and continues to copy said assembly while adding a constantly increasing suffix ie -01, -02, -03... for a given number of times.
I'm finally wrapping up work on an iLogic Configurator project and have started to brainstorm the best workflow to get this "Smart Assembly" into the design group's hands. I had been anxiously awaiting the new "iLogic Design Copy" feature in IV2012, but just recently learned that users are unable to effectively rename any components with this command.
Is this really true? If we can add prefixes or suffixes, what's stopping us from changing the entire filename? We haven't upgraded to 2012 yet, but it seems like this may be a silly and unjustifiable restriction to a command that would otherwise save our designers hours of "file-management" (ie, manually renaming parts in Explorer, component replace in assy's, replace references in idw's, etc) each week.
Long story short, it seems that every workflow I've come across has had some sort of silly limitation that makes it undesireable for my application:
My top-level assembly contains all of the rules, and changes parameter values in the referenced skeletal parts. It also swaps standard parts for other standard parts as needed.I need access to rename ALL files (idw's, top-level assembly, subassemblies, and base components) while still maintaining/updating all internal hyperlinks between them.iLogic rules must be carried over to the new copied components (the existing "Copy Assembly" command strips the assembly of all rules). In light of the iLogic Design Copy's apparent shortcomings, any better workflow?
Autodesk has agreed that this code does not work on Inventor 2012 and that the development is working on it. This code is part of the Snippets built in Inventor iLogic Rule Browser.
I seem to have my task accomplished, but Inventor crahes on me after it is done.
Here is how my iLogic works.
' Deleting the suppressed parts from the assembly Dim compDef as AssemblyComponentDefinition compDef = ThisDoc.ComponentDefinition Dim compOcc as ComponentDefinition For Each compOcc in compDef [Code] ........
Now as soon as the last line is executed, Inventor crashes.
But when I go to the save file part (C:MyPath), both the parts and assembly files are saved and if I open it, they work just fine.
I'm linking an excel file to an .ipt file with iLogic code determining if the Material type is a certian value it will find the correct material thickness. These file work great when working on them thru Vault but when I "Save As Template" and create this file where our other template files are located (not Vault) this fuction does not work. I have realized that I had to place the a copy of the excel file in the same file folder as the template ipt, but even this does not fix the issue.
I recieve this error:
Error in rule: Material, in document: Part6
'MWW Materials (Inventor).xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.
If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.
It seems completly countintutive that just saving the file as a template file would cause this not to work when all files that are required are located in the same file folder. Maybe I need a reference to the excel document within the iLogic code.
I am making a copy design of a big file, two things I need to change manually which takes lots of time:
I need to change the status of files from Reuse to Copy, also I need to change the paths to the right ones as the paths that kick in by default when I change the main directory on the top are not right.
Is there a quick way of changing status of all the files to Copy, kinda shift and highlight or the way Vault renames files with Replace option? With big assemblies connected with 10 drawing files doing it all by hand.
i have an asm1 that i would like to copy as asm2. identical most of the part except for some parts that i have to replace and use other parts from asm3.
Which is the best method to use, copy design or save as?
Using iLogic, how to extract data from "Design Tracking Properties" in a revision table to an embedded or linked Excel spread sheet? Design Tracking Properties like "Today's Date", "Designer", "Checked By", "Eng Approved By" are of great interest.
I am just starting to use ilogic for some design files. We have two design sites connected with Vault Collaboration 2012.
What is the best practice for sharing the ilogic rules between the sites?
I was planning on making an ilogic rules folder at the root of my workspace and having Vault manage the external rules. However, I don't see the rules listed when I check-in a file that uses them.
Do I have to add the rules to my template files? If so, how do I make changes to the rules without editing every file created with the templates?
We will be moving to Vault and IV 2014 after the first of the year, if that makes any difference.
I have an assembly as a template that was created by a previous employee. There are known variables that are controlled with an Excel spreadsheet.
What I am attempting to do is create a VB form that the user can input the known variables and then have the program open the template, perform the changes, and copy to the vault. Sounds easy enough. A few caveats:
If I store the template in the Vault (preferred), how do I perform a "Copy Design" with a VB6 program?If I store it on a hidden network drive, this prevents users from screwing it up, but then I have to open each indivual file and perform a "SaveAs". Also easy enough. But, since the previous employee linked each component of the assembly to the Excel file, I would need to perform a "Change Source" to the newly created Excel spreadsheet in each component. Not sure how that is done. I do have VB2010 Express, but just not as comfortable with it as VB6. (I know, get with the current .Net)
I have an existing frame design by Inventor but then i wish to copy out the existing design and modify it ! so i try with the copy function in design assistant but then i found that after i modified the frame size or profile in the copied frame design, the existing frame design changed as well! How to break the link between these two frame design on this case?
You create a part, or assembly, check it into vault, then do a copy design in Vault. When you open the copied assembly, any sheet metal parts have reverted back to default thickness, making it so flat patterns don't work right until you manually change it. Also half of my custom parameters (sheet metal length and width) go missing and I have to type them in manually. Why does Inventor 2013 drop such information?
I am having a problem with Inventor 2013. Every time I run/edit then run an iLogic rule my Inventor crashes. I have sent the report in to autodesk, but I need a fix for now.
I have tried a soft reboot, hard reboot, only opening inventor while no other programs are running, disconnection from the internet, etc.
I have an assembly that I am working on that will be used as a configurator, driven by I-logic. Everything is work fine but there is one part off the assembly that will be custom to each new assembly. Is there a way to use I logic to open the ipt file save it as copy with different name and replace the original in the assembly. I know this can be done manual through the productivity tab within the assembly environment, but I am trying to automate the process so the end user will just have to follow prompts that will be given by i-logic.
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 want to have a template IDW containing sketched symbols representing various possible drawing status stamps; when the drawing is ready for publish I want to run a rule which allows selection of one stamp for insertion on the drawing. how to copy the symbol from the one drawing to the other. Here is my non working
'Query stamp insertion requirementquestion = MessageBox.Show("Do you want to insert a stamp?", "Stamp Requirement",MessageBoxButtons.YesNo,MessageBoxIcon.Question)If question = vbYes ThenDim strSelectedStamp As String = "Result2"Dim strStampList As New ArrayListstrStampRequired = TruestrStampList.Add("F&C Stamp Round")strStampList.Add("As-Built Stamp. [code]..
I get a 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' error.
Here I attached my model view it's just for reference here iam using rectangular pattern and simple ilogic code .Using rectangular pattern we will get all same sizes of boxes but i want to change different different sizes and positions. my idea is without using pattern just draw one rectangular through parameter. Select no. of compartments automatically copy and paste that rectangular in same sketch plane and ask sizes and positions dimensions.
I need a simple iLogic code that lets me copy iProperties of my choosing from my assy and to a Part, and grab som iProperties from my part and put into Assy iProperties.
the Assy and part are always named the same, and placed in specific folder, so i can easily locate the files.
I have been searching the forum without finding anything i have the skills to adjust to my needs...
It should be like this..: (not written in correct code but you´ll get my point.. )
'Get partnumber from active assy or part, depending what you have active
My computer would crash and reboot. I downloaded and installed the partner certified driver for my video card. (nvidia quadro fx 3450/4000 sdi) This solved the crashing problem, but now every time I open inventor i receive an ilogic activation error. I have reset my ribbon and that did not work.
Everytime I try to place a #8 machine screw type II screw from the content center I get a Design Accelerator Doctor error saying: "Modeling: Failed to insert a part into assembly!".
But if I place a Type I machine screw it works fine. Also if I replace the Type I screw with the Type II (the one I have a problem with) it replaces it no problem. So basically if I want to place a #8 Type II screw I have to place a Type I and then replace it with the Type II..
I'm getting a strange error with my iLogic code running parameters in my assembly. When I have one "if....then..." my rule runs fine. Even two statements work. But for some reason when I get to a certain number of statement I get an error: I've attached some sample code and snapshots of my error screens.
When i trying to create a new ilogic rule i get window with this error:
Spoiler (Highlight to read)System.InvalidCastException: Невозможно выполнить приведение [A]iLogic.CodeSnippets к [B]iLogic.CodeSnippets. Источником типа A является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "Default" в расположении "C:PROGRA~1AutodeskINVENT~1BinAutodesk.iLogic.dll". Источником типа B является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "LoadFrom" в расположении [code]..........