AutoCAD Inventor :: VBA And ILogic Design Copy
Nov 10, 2011
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.
View 2 Replies
ADVERTISEMENT
Jul 5, 2012
I am trying to make an assembly copy as separate project using the iLogic Design Copy feature.
Everything seems fine except I do not have my involved in assemblyContet Centerparts in this copy.
I am also have no any possibility to chose the Content Center folder in the iLogic Design Copy feature as it does not showup there.
[URL]
View 2 Replies
View Related
Nov 5, 2013
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.
View 3 Replies
View Related
Aug 11, 2011
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?
View 9 Replies
View Related
Jun 21, 2012
Inventor 2012, DWG drawing file Revision table - iLogic
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.
View 4 Replies
View Related
Nov 22, 2013
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.
View 7 Replies
View Related
Aug 29, 2012
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.
View 9 Replies
View Related
Feb 15, 2012
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?
View 3 Replies
View Related
Nov 23, 2011
When I try to copy design from Vault, but I cannot do it, here the message.
View 4 Replies
View Related
Aug 26, 2011
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)
View 1 Replies
View Related
Dec 27, 2011
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?
View 3 Replies
View Related
May 3, 2013
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?
View 5 Replies
View Related
Jul 8, 2013
I can find a method to copy a Design View to a Level of Detatil (DesignViewRepresentation.CopyToLevelOfDetail)
But the opposite way (i.e. LevelOfDetailRepresentation.CopyToDesignView) doesn't seem to exist - it is possible in the GUI.
Will I have to traverse the complete structure and set visibillity one by one to obtain the function then? Or are there a better/faster way to go?
View 3 Replies
View Related
Jul 31, 2013
coding iLogic to make a copy of the open model under a diferent name is a pre determined location with the same extension.
View 3 Replies
View Related
Mar 5, 2013
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.
View 2 Replies
View Related
Feb 25, 2012
I'd like to copy the ilogic text & keep it's colour format - what will do this?
View 1 Replies
View Related
Sep 26, 2011
I`m not sure if this is possible or not.
Is there any way to write a script which copy`s a variable to the buffer? Similar to CTRL-C?
View 9 Replies
View Related
Dec 18, 2013
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.
View 4 Replies
View Related
Feb 13, 2012
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.
View 1 Replies
View Related
Feb 14, 2012
I have the need filter inside Vault the Inventor Drawings (.dwg/.idw) by its papersize.
In my testing enviroment, I created a iLogic rule inside a .idw with the following
iProperties.Value("Custom", "Formato") = ActiveSheet.Size
I used the Ruler Trigger "After Save Document" to refresh this rule.
In Vault, I've mapped this custom property:
But, how to Copy (and update) this iLogic Rule to the other existing .dwg files in Vault?
I thought the iLogic Design Copy would be able to do so, but it doesn't works in that way.
View 6 Replies
View Related
Dec 8, 2013
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.
View 7 Replies
View Related
May 1, 2013
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.
It's possible through ilogic?
In my panel bar options are:
Hight of panel- Hight of panel
width1- Width of panel
Depth1-Depth of panel
com1- no.of Compartments
hIN- No.of Hinges
View 1 Replies
View Related
Jan 9, 2012
Using Inventor 2012 and using ilogic rule or VB codes to auto Save Copy AS DWG?
My old code error out when debugging. The exact error is on this code line:
DWGAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
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.
View 4 Replies
View Related
Jun 21, 2013
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
PartN = iProperties.Value("Project", "Part Number")
'Defining Assy file
Assy = "M:80000" & PartN &".iam"
'Definging Part file
Part = "M:80000" & PartN &".ipt"
[Code] ..........
If only i knew what to write in the above lines it would work
View 4 Replies
View Related
Dec 9, 2011
I am working for customer with a simple item with his iLogic design. He has created a simple form to modify his iProperties. To modify the current material, a multi-value parameter was created and the following rule as a local rule;
"MultiValue.List("MATLIST") = iProperties.Materials
iProperties.Material = MATLIST"
He is now trying to make this an external rule but gets the following error
Error in rule: Mat2, in document: Mat2.iLogicVb
iProperties.Material: is probably a bad material name.
The more info tab says:
System.ArgumentException: iProperties.Material: is probably a bad material name.
at iLogic.CadPropertiesInRule.SetDocMaterial(Document doc, String matName)
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
View 2 Replies
View Related
Jan 22, 2013
Can you open two dwgs and copy blocks from one design center to the other?
View 3 Replies
View Related
Oct 9, 2013
I wanted to use the program to design a robot for our school vex competition. Vex has provided cad files for all the parts. So, how i can import the seperate parts into one design. I can only open each part individually but cant find a way to combine them so can assemble the robot in one design.
View 2 Replies
View Related
Jul 8, 2012
I've tried dragging layers across drawings using the design center interface, but what I've noticed is that while the layer in question gets copied over, the layer is empty. The objects within the layer do not get copied over. How do I copy objects AND layers that I've selected across drawings using Autocad Design Center?
View 5 Replies
View Related
Aug 19, 2013
how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies
View Related
Apr 10, 2012
I just made a copy of assembly in Design Assistant.I opened the copied assembly in Design Assistant to make some changes.Parts are accessible but I have only "Clear" option possible. URL....
View 2 Replies
View Related
Aug 23, 2013
I have a keyboard shortcut for Copy (see directly below). This command doesn't copy multiple. But if I type "Copy" at the comment prompt (AutoCAD 2013) the copy multiple is the default. Copymode is already set to "0".
(DEFUN C:C()
(setvar "SNAPMODE" 1)(COMMAND "_COPY")
(PRIN1)
)
View 4 Replies
View Related