AutoCAD Inventor :: ILogic Subassembly Part Visible?
Oct 7, 2011
I am using Ilogic to control visibility of a subassembly in a subassembly of my main assembly. It works correctly inside of the subassembly just not from the Main Assembly. If I use IsActive instead it works but I can't use this because the dimensions in the associated drawings lose there attachment points using IsActive. I can change my assembly by removing the middle sub assembly but will require writing a lot more code.
View 8 Replies
ADVERTISEMENT
Nov 17, 2011
I have a rule in the top assembly to update & want to run this as a final 'clean up' after various rules have run in sub assembly parts.
I have a rule within a part at the end of the line. I want this rule to goto the top assembly & run the 'Update' rule.
View 4 Replies
View Related
Jul 12, 2013
Is there a way to edit constraints inside a subassembly from the main assembly, using ilogic?
I would like to supress a constraint (let's call it mate:8), which is inside a subassembly. When I right click on that constraint, and select "Capture Current State", it inserts Constraint.IsActive("Mate:8") into my iLogic code. However, there is already a mate:8 in my main assembly, so how can I be more specific so that iLogic knows which constraint I am talking about?
Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer
View 9 Replies
View Related
Mar 11, 2013
I'm modeling a temperature gauge and would like to have glass over the gauge so the inside is visible. I can easily do this with an assembly, but I'm wanting to do this with a single part. I tried to derive a new part from the assembly, but the transparent part turns solid so nothing inside is visible. Is it possible to do this?
I've include pictures of what I want and what I end up with.
Inventor Professional 2013
Intel Xeon W3680 @ 3.33Ghz
12GB DDR3 RAM
NVIDIA Quadro 2000 GPU
Windows 7 Professinal 64-bit
View 9 Replies
View Related
Jun 4, 2012
I need to suppress a pattern in an 2nd level subassembly. But is only able to do it in the same level where the pattern is placed etc:
If Length < 3000 mm Then
Component.IsActive("1 st level subassembly", "Name of pattern in 1nd level subassembly") = False
End If
But if i do it with an MakePath... etc.:
If Length < 3000 mm Then
Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly", "Name of pattern in 2nd level subassembly")) = False
End If
If Length < 3000 mm Then
Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly"), "Name of pattern in 2nd level subassembly") = False
End If
is it not possible to suppress a pattern by an MakePath?
View 9 Replies
View Related
Oct 11, 2011
The problem
- I have a top level assembly (lets call it '01.iam', which contains a range of subassemblies (e.g. '02.iam', '03.iam' etc)
- The subassemblies have positional representations
- I want to be able to manipulate the pos.rep's from the top level using iLogic.
I found this snippet of code on the forum which works when I create the rule in one of the subassemblies.
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.PositionalRepresentations("MyPosRep").Activate
But I'm having trouble adapting it to work from the top level, as I would like all my rules saved in one place.
View 4 Replies
View Related
Apr 1, 2013
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
View 5 Replies
View Related
Feb 8, 2013
Is there a way to connect parameters from part1 to part 2 using iLogic, without using an assembly.
View 9 Replies
View Related
Dec 15, 2011
I can't control the section participation of individual parts or subasy in a IDW view. I want to have some parts & subs sectioned in the view & others not sectioned. They seem to follow whatever the IAM is set for. Note that I do not want to control the section participation in each Model from Documentation/Model/Particiapation becasue it will screw up other drawings referencing the models. Besides, I tried it & it stil wouldn't work.
The complicated part is that the view can be a cropped or detail view of a section view that is the child of the parent view-(I had to do it this way to get the view I needed).
is it even possible to individually control the sectioning in parts of nested views?
The RMB controls are available to do so but nothing happens, even if I close & open the file again.
Sometimes the RMB menu/Section Participation shows little filled in squares next to Sectioned & None. If I click on either, it becomes a check mark.
View 1 Replies
View Related
Apr 19, 2013
I am trying to create a rule that if a certain property is set to Gx then certain text on a template becomes invisble.
I have created a Text style and thought the following code would suffice....
Format:HTML Format Version:1.0 StartHTML:
165 EndHTML:
1942 StartFragment:
314 EndFragment:
1910 StartSelection: 314
EndSelection: 314
SyntaxEditor Code Snippet
Ifz_ValueS="Gx"Then
ThisDoc.Document.StylesManager.Text("Standard").Visible=FalseEndIf
But alas it does not work. I guess I could create the text using layers and make the layers invisible but is it possible.
View 1 Replies
View Related
May 4, 2012
I have autodesk inventor 2012 and I'm building an assembly of an air compressor. One big part is coloured yellow and has on both sides decals with an image on them.
When I open my assembly file, the part is there in my assembly but it is coloured gray and no decals are visible, if I open the part with the decals it shows perfectly, So if I use replace and put the original file back in there, it's fixed, until I close and reopen the assembly ! Again the part is other colour and no decals visible ...
Have tried to delete and place the decals again, no difference...What do I have to do ?
View 8 Replies
View Related
Jan 8, 2013
I'm making a part and am adding features to it and using my existing sketch dimensions as my guide. The problem is that when there are sketch dimensions on the face of the part, they are difficult to read. I'm forever dragging these dims to the side in order to read them, it's just a bit annoying. I was wonering if there was a setting that made them show up as well as they do when the aren't sitting on the face of my parts. I've attached a .jpg of what I'm talking about. notice the dimension on the left side and the bottom.
View 2 Replies
View Related
Sep 27, 2013
(in Inventor Pro 2014,64 bit):
I've made an stairs assembly that contains adaptive parts that are all controlled by the assembly parameters.
Here is my assembly and the controlling parameters. The stringers on the side are made with the frame generator and use the "extend" feature to get the appropriate length, as driven by the parameters. The reason I used frame generator is so that I can easily change sizes of the stringers down the road, if needed. I chose to make the parts associative so I could control all of the parameters from within the assembly instead of opening each part separately.
My goal now is to be able to use this assembly (or something similar) as a template to create new sets of stairs, all to be placed in the same main assembly.
I attempted to duplicate all of the parts (append a "2" at the end of each file name and replace components in the new set of stairs with the 2nd version) but ran into problems with the two stringers. I can't figure out what to do to get the Frame00001 and Skeleton00001 to reassociate to Frame00002 and Skeleton00002. So any time I change my slope, the original stairs will end up trying to copy the new stringers instead of keeping the old ones.
how can I make this assembly reference a new frame, and secondly?
View 2 Replies
View Related
Nov 10, 2011
I need to derive a part in a model (not assembly and as a separate solid), to remove it and make a cavity. However, I need inventor to prompt what file is to be derived through iLogic.
View 5 Replies
View Related
Sep 16, 2013
Is it possible to control (move) End of Part with iLogic? Let's say to move it before or after a certain feature.
View 1 Replies
View Related
Aug 3, 2012
I have an assembly with 20 parts.
I will make a detail drawing of the parts in the assembly.
In the detail part IDW I would like to have the qty needed for the assembly 1,2,4 ect.
So how I think the ilogic should work.
In the detail drawing have a rule named QTY when ran auto or manually Will pompt to pick the Top Level Assembly the parts are in.
The user will look for the top level assembly select it.
The rule would filter out all parts but the detail part number and return the QTY of parts needed for the assembly.
I only need the Qty.
I know this is done by the number of Occurrences in the assembly this I can find but what I can't find is how the user would look up the assembly and set it to parts only.
Like the pic below when doing a parts list.
I don't need the select view because it is a part and it would return QTY of 1 but the assembly may have 5.
2012 Factory Design Suite ( will not load 2013)
View 9 Replies
View Related
Jun 13, 2013
I have an assembly which I want to replace one of the parts with one of four other parts.
My code reads:
Select Case Width
Case "750"
Component.Replace("part:1", "L:Drawingspart2", True)
End Select
This works fine and when 750 is selected, part1 is replaced with part2.
My problem is then if I want to select "1000" I don't know the part name which I will be replaced by part3 as this could be part1, part2, part4,or part5.
View 1 Replies
View Related
Jul 25, 2012
How to run iLogic Rule which I created for .ipt file in assembly?
As I have a myPart.ipt file with iLogic Rules which could create part1.ipt, part2.ipt, ..... (hundreds of them).
Now, I want creats iLogic Rule in myAssembly.iam to run the iLogic Rules in myPart.ipt in order I could create correct .ipt file to be used in myAssembly.iam.
View 4 Replies
View Related
Jul 26, 2012
I have the same ilogic part placed in the same assembly, and i am trying to drive two different configurations of the same part and when i apply the configuration it changes both of the parts but to only one of the configurations.
Is there a way to drive them seperately even though they are the same part.
View 5 Replies
View Related
Jun 6, 2012
I am trying to find an ilogic for part proparty entry as soon as I create new part/assy.
I know it is possible by Event triger-> New Document .
View 9 Replies
View Related
Jan 28, 2013
I would like to be able to add iproperty values to a derived part from the assembly..!
Breaking it down..:
When i run the rule, it creates a derived part from the Assembly i have open.
The iproperties from the assembly should be copied to the new Derived Part. or just set direclty from the rule, doesn't matter...
View 9 Replies
View Related
Jul 25, 2012
Before using iLogic, I created lot of iAssembly and iPart. I could change iPart factory member when I need in iAssembly.Now, I want to move everything to iLogic.
how could I change the part by iLogic code?
For example:
I generated "Part1.ipt" and "Part2.ipt",...... (I have hundred of member)
In my assembly, sometimes, I need use Part1.ipt, sometimes I need use Part2.ipt.
Which is the iLogic Code I should to use?
Inventor 2009, WIN XP.
Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory
View 9 Replies
View Related
Feb 15, 2013
Apparently the occurrences tab setting aren't easily accessible through the code snippets in ilogic.
How would one go about writing a rule that, in essense, would say:
If x = "whatever" then
occurrence.enabled = false
else
occurrence.enabled = true
end if
I've been reading that LOD's and suppression aren't the best course of action for assemblies especially when you're dealing with 20-40 parts as I am. I've got an assembly and parts controlled by a spreadsheet and when things are clicked off in the spreadsheet they need to be off in the model/drawings/bills etc. I have it working (to an extent) with suppression of parts in the assembly, but that casues LOD errors in the drawings. Research says parts are best disabled which is what i'm trying to do.
View 1 Replies
View Related
Jan 27, 2013
I got this code earlier from Curtis_Waguespack, and i would like to add a setting... When i run this rule it Derives the assembly, but LOD is set to Master, i would like it to be set to my own (Configurator) LOD...
I don't seem to be able to find anything in this code, that defines LOD...
So far im doing ok with the standard ilogic code, but when it´s API or VBA code im lost.. which leads me to this.. i've been searching the forum back and forth to find a code that performs the feature "Shrinkwrap", and somehow everything i have found so far does not work... even the code example in Inventors help menu under programming, Therefore im trying to solve this with Curtis's code as staring point..
'set a reference to the assembly component definintion.'this assumes an assembly document is open.Dim oAsmCompDef As AssemblyComponentDefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition 'define the path and file nameDim sPathandName As StringsPathandName = ThisDoc.PathAndFileName(False)
[Code] .......
View 9 Replies
View Related
Oct 26, 2011
I have created a ilogic rule that should set the size and the cut length of my parts. Most of the time the rule behave as I want it to. But sometime it gives me a error. See attached picture. By the way, I have included this rule in my custom content center parts (beam's etc). The rule is:
'Turn off workfeatures
ThisDoc.Document.ObjectVisibility.AllWorkFeatures = False
'check if the part has any geometry
If Measure.ExtentsLength="0" Then
[code]........
View 9 Replies
View Related
Jan 9, 2012
I have made an iLogic external module who copy the iProperties from an Excel files, when i open the module from the *.ipt file il works perfectly. But i need this function from *.iam files.
Something like this: when i click with right button in one selected part of assembly i can open the module only for this part and when i save it save the change for all modify part of *.
View 1 Replies
View Related
Jun 17, 2013
I would like to make an External Rule that would make an iLogic Internal Rule (with the same code every time). I guess what I really need is a way to drive an Ilogic rule into every part that does not have the rule in the part already.
I know what you’re thinking and just using the External Rule doesn’t work for what I want to do. I need it to be an iLogic Internal Rule.
View 9 Replies
View Related
Jan 28, 2013
I have made a configurator, that defines my part. Now i would like to add some intelligence for the Save process...
When i activate my rule it should.:
1. Go to a Excel spreadsheet and find next Empty cell in a specific collum
2. Place Title from inventor in that empty cell
3. Return the value from the cell next to this cell
3. Use this value as the new filename for my part.
Example: here i would like to get the parts tile put into B3 and A3 (103) returned to Inventor as filename to my part
--------------------
A B C
1 101 Title1
2 102 Title2
3 103
If possible, i would like to be able to adjust this alittle as i go forward in my work,
View 9 Replies
View Related
Jul 20, 2012
I have a couple of dozen features in my part, of which only one will be active at any time. The feature tree may be subject to additions, so I am looking for an ilogic rule that will first suppress all of the features in the part, and then switch on the specific feature I require (using a parameter). Any code to suppress ALL features?
View 9 Replies
View Related
Sep 12, 2012
I have created a very simple yet effective tool for starting a new manifold assembly using iLogic. The rules and windows essentially fill out the size of the block, material type, description, project and part number.
Below I have a hydraulic manifold I have designed and from that I created the final .ipt of the internals. The way I did this (which may not be the best method) was to create a second .ipt matching the LxWxH of the original manifold, next I inserted and aligned both into another .iam file, lastly I derived a third .ipt from a subtraction resulting in the third image below. This is a bit time consuming to create, but has been very useful in error checking our designs. I would like to see if iLogic is capable of allowing me to automate this so we can easily create these internal flowpath .ipt's for every manifold we design.
View 8 Replies
View Related
Dec 27, 2012
Possible to add a thread feature to a part using iLogic.
Basically in the iLogic form if the user selects "Threaded Rod" the existing Extrusion is updated to reflect a cylinder with a length and diameter specified by the user and then I need to have a Thread Added to the cylinder.
Computer Specs:
Windows 7 (64 Bit) Pro. SP1, Inventor 2014 Pro, 3D Connexion SpaceNavigator (Driver 3.15.2)
Motherboard: ASUS Rampage IV Extreme x79 Socket 2011
Processor: Intel Core i7 Six Core Sandy Bridge-E 3.2GHz OCed to 4.7GHz (Under Water)
RAM: G.Skill Ripjaw Z-Series 32 gig quad channel of RAM 1800MHz OCed to 2133MHz
Video Card: 2x Nvidia Geforce GTX 770 (Running Six (6) Monitors)
Monitors: [Primary = 2x 24in HD WS][Secondary = 2x 22in HD WS][Tertiary = 2x 19in FS]
Primary Hard Drive: OCZ Vertex IV 256 GB Solid State Drive
Secondary Hard Drive: OCZ Vertex III 120 GB Solid State Drive
View 1 Replies
View Related