AutoCAD Inventor :: ILogic - Creating Assemblies With Different Length?

Jun 21, 2012

I'm new in use of iLogic and tried to use it by myself (and internet). But I have some difficulties.

Here is the open point, I wold like to create an assemblies with different length (and also some different part inside).

So I made some iLogic rules to make a configuration of my .iam with length selection.

 I made rules to show or hide parts with is linked to the proper length.

I made rules to switch from a positional representation to another one and do the same for level of details representation and for view representation.

All is good in my .iam.

My problem is comming now. When I would like to put my .iam in a .idw in several views (corresponding to different length), my views are the all the same. I can't see one length per view even if I select the proper representation, the proper position and the proper level of detail.

At the end, all this work is to have all views length to be able to make in one drawing all length block in autocad.

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic - How To Sum A Property Of All Sub Assemblies

Oct 25, 2012

I got here on in my templates, two types of weight - net and gross. I've changed the main property MASS of each PART to be the GROSS weight, so when i have one assembly i always get the total gross weight.

And when i wanna get the NET, I open the BOM, show the proper column with this net weight and then export do XLS to sum all of then..

Now the doubt is, to get the things easier, is there a way to put some code in the assemblies, that could sum all the properties "X" from each part and sub assemblie to get the total net weight ?

View 1 Replies View Related

AutoCAD Inventor :: ILogic Using Same Parts In Different Assemblies?

Jan 11, 2012

i placed an ilogic component (wich i use as a template to  later change dimentions) into an assembly file after changing dimentions i placed the same "template" ilogic component into the assembly but when i want to change something on the second component it also changes the first one and that only happens with only one feature of the component the other features work fine.

View 2 Replies View Related

AutoCAD Inventor :: Replace Assemblies (not Parts) Using ILogic?

Nov 14, 2011

Is it possible to replace sub assemblies using ilogic - I can only see a link to replace parts?

View 1 Replies View Related

AutoCAD Inventor :: Multiple Identical ILogic Sub-assemblies With Different Parameters

Jul 17, 2013

iLogic code question concerning how Place iLogic Component and retain the ability to push parameters from the subassemblies to the parts after being renamed.

I have ASSEMBLY.iam containing:

SUBASSEMBLY-01:1.iam
SUBASSEMBLY-02:1.iam
and sometimes SUBASSEMBLY-02:2.iam

each SUBASSEMBLY.iam contains PART1.ipt and PART2.ipt which have variable LENGTH and WIDTH. LENGTH and WIDTH are entered manually at the SUBASSEMBLY.iam and are infinitely variable.

To transfer the parameters I'm using iLogic code in the SUBASSEMBLY:

 Parameter("PART1.ipt", "LENGTH")=LENGTHParameter("PART1.ipt", "WIDTH")=WIDTHParameter("PART2.ipt", "LENGTH")=LENGTHParameter("PART2.ipt", "WIDTH")=WIDTH
 
Issue 1: When I place the SUBASSEMBLY as an iLogic Component, the parts are renamed to PART1-01.ipt which renders my Parameter transfer useless. What am I missing on writing this code so it can find the new part name?

 Issue 2: I like the automatic renaming that happens with Place iLogic Component. Is there a better way to handle this automatically through Place Component -> Save & Replace?

Inventor 2013

View 1 Replies View Related

AutoCAD Inventor :: Placing ILogic Assemblies Into Larger Assembly

May 28, 2013

I'm new in iLogic. I started making an assembly where it has a form where I put the dimension and iLogic controls the subparts including a frame generated profiles (in this case, iassembly don't work with FG).<br><br>The problem is: In the Larger assembly, I also put an iLogic and a form where I want this sub assemblies (this is the assembly mentioned above) to be driven by the parameters I will input on this large assembly. I don't know how to handle this but what I want is to:<br><br>1. I need that when I place this sub assembly there will be a form that will popup during the placement like when I put a bolt on content center.<br>2. Save as a new number and when the set of parameters exist on the previous large assembly it will notify that the sub assembly exist.<br><br>is this possible?

View 2 Replies View Related

AutoCAD Inventor :: Linked Spreadsheet And ILogic Workflow With Assemblies

Jun 19, 2013

My question is regarding the proper workflow within Inventor.  We are currently using 2013 Pro.

I am trying to develop an Assembly that will take linked excel values and have the assembly repond to the user's input.  This spreadsheet is to be general in form and is to be re-used for different projects.  Right now, the excel values are linked to a master assembly file.  This master file has a few iLogic rules to handle the user's input and to pass particular parameter values to the iAssemblies (read sub-assemblies).  The iAssemblies are not that complex, but they are taking parameter values from the master, and using iLogic within the isub-assembly to choose the iAssembly member based on the parameter value.

Problem one:

There seems to be a problem with changing the iAssembly member.  I have stabilized the iAssembly within the master Assembly.  The isub-assembly does not update unless I open the isub-assembly file.  In both the isub-assembly and the master assembly, I update at the end of each rule, and I trigger the rules after any parameter change.

The questions are:

Since there are 123 members (so far) in each of the 2 iAssemblies within the Master Assembly, do I really have to test the parameter 123 times to assign a particular iAssembly member?  Or is there a more concise way to do this?

We are not using Vault yet, but with described workflow, will we have problems when we do migrate to a vault environment?

View 4 Replies View Related

AutoCAD Inventor :: Rule To Rename Newly Placed ILogic Assemblies

Jan 9, 2013

I'm running Invenor 2013 and I'm trying to figure out a way to rename my components from an iLogic assembly when placed in a new assembly.

Right now when I start a new assembly, then place an iLogic component it names everything "Part-01," Part1-01" and so on for all of the variable components.

What I'd like to do is write a rule that when placing my iLogic component it will name it based on the filename of the new assembly that I've created. "Part-New Assmebly," "Part1-New Assembly" and so on.

View 7 Replies View Related

AutoCAD Inventor :: Use ILogic To Set Size And Length Of A Part

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

AutoCAD Inventor :: Creating Assemblies Out Of Multiple Parts?

Jul 11, 2012

I have a issue merging multiple parts into one assembly. When i do the constrains the parts are able to move but the pieces break part. I need to be able to move the whole assembly with all parts together without them breaking apart.

View 6 Replies View Related

AutoCAD Inventor :: ILogic Rule To Measure Loop Length

Oct 30, 2013

I have just started to use ilogic, what i want to do is measure the length of a loop in a sketch and then use this measurement as a parameter.

I have found this rule that will measure the loop length and display it in a message box

Dim se As SketchEntity = ThisDoc.Document.ComponentDefinition.Sketches(1).SketchLines(1) 
MsgBox(ThisApplication.MeasureTools.GetLoopLength(se)*10 & " mm") 

but i do not know how to capture the measurement as a parameter .

View 3 Replies View Related

AutoCAD Inventor :: How To Create Rule Which Limits Pipe Length In ILogic

Apr 24, 2012

How would I go about creating a rule in iLogic which would limit the minimum length of a pipe (parameter = Pipe_Length) to be half the outer diameter of the pipe (Pipe_OD), in other words "Pipe_Length ≥ Pipe_OD/2"

I know you can use the limits wizard in iLogic,  but is that not only for numerical values as opposed to parameters?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Formula - Measure Length / Width And Thickness Of A Part

Apr 26, 2012

I am trying to create a iLogic Rule that will measure the Length, Width and Thickness of a part and ut it into the custom fields we have. I am having a hard time remembering how to get it to do it from the assembly level. I want to run this on the assembly and have it populate all the parts inside of it. The code below will do it for a part but what is it I add to get it to drill down into the assembly?
 
iProperties.Value("Custom", "THICKNESS")=Measure.ExtentsHeight
iProperties.Value("Custom", "WIDTH")=Measure.ExtentsWidth
iProperties.Value("Custom", "LENGTH")=Measure.ExtentsLength
 
Then I want to add this formula to the Stock Number iProperty = <Length> X <Width>   I can get it to add the values but I can not get it to add the formula to the stock number.

View 9 Replies View Related

AutoCAD Inventor :: Creating Columns And Beams For Power Plant -Reverse Assemblies

May 27, 2013

I am creating columns and beams for a power plant and a few of my assemblies that I have drawn in thus have a reverse - is there an easy way to reverse the assembly?

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Blank Size Custom IProperty Using Flat Extents Length And Width

May 7, 2012

I want to have a Blank size custom iproperty using flat extents length and width this is what i did but gives error is there a way to get this to work the way I want it to? I dont want a Length and width to be seperated would like it all in one.

iProperties.Value("Custom", "BLANK SIZE")=Round(SheetMetal.FlatExtentsLength, 3)"X"=Round(SheetMetal.FlatExtentsWidth, 3)

View 2 Replies View Related

AutoCAD Inventor :: Creating Cables With Fixed Length?

Jan 6, 2014

I am creating an assembly where I need to add a light probe that is length X from a sensor to an LED. I would like to create a cable modeling this transition to make sure it can be routed around other components. I can't seem to find how to lock the length for the cable from point A to point B, it only changes based on what points I add on its path.

View 1 Replies View Related

AutoCAD Inventor :: Promoting Parts In Assemblies From Stock Sub-assemblies Or Component Groups

Oct 3, 2011

I am working in an Inventor Assembly .iam, I have about 250 fasteners (screws) that are constrained to a flat washer and lock washer. I would like to put them in as a single unit (sub assembly if you will) and then promote or explode them in the top level so that my bom has 250 screws, 250 washers, and 250 lock washers all at the same level, not associated to one another except thru the constraints that were entered in the original assembly. I have tried Promote but that doesn't work because it removes the washers from the original file and I end up with only 1 instance of the assembly. Am I approaching this incorrectly? Is there a better way? I run across this scenario with different components quite often.

View 2 Replies View Related

AutoCAD Inventor :: Busting Up Sub Assemblies In Upper Level Assemblies?

Mar 8, 2012

If you have created a sub assembly and inserted it into an upper level assemby, is there a way to bust up the sub assembly at that level?

The issue arising is the individual components need to be called out on the upper level, but in the drawing are all showing up as the same balloon.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Text Resizing Based On Length Of Text

Feb 19, 2012

I'm trying to finally utilize iLogic and all of its functionality (after using the basic features of inventor for the past 3 or so years) and I was wondering if there was a way to use iLogic (or some other feature for inventor) to resize text in a title block field of an IDW based on the length of the text entered (i.e. if the part's name was "Cam Retainer" the text height would be .12, but if its part name was "Spacer Cam Retainer Bushing" the text height would shrink down to .085 or something) so that it would still fit nicely into the text block?  

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Creating STL With Options?

Sep 11, 2013

I created a iLogic routine to generate a STL file if the iProperty "Printed Part" is set to YES.  

I am getting an error when Ln33 oTranslator.SaveCopyAs(oDocument, oContext, oOptions, oData) is executed.
 
If iProperties.Value("Custom", "Printed Part") = False Then 'False = "NO"ReturnElseMsgBox ("Selected to output STL for printing" & vbCrLf & "Disable by setting the custom iProperty:Printed Part to NO")End If'Create _OUTPUTS directoryoPath = ThisDoc.PathoFolder

[Code]....

View 2 Replies View Related

AutoCAD Inventor :: Example Of ILogic In Creating Stairs

Jan 1, 2013

Any good example of ILogic in creating stairs? We generate many different widths, lengths and heights? Been trying to utilize iLogic to make all the different types more easy to create from the start. Have set angle of stringers and certain widths of treads but cannot figure out my rules on the number of treads needed per the length of my always changing stringer lengths. Stumped on how to take a certain length (parameter) and divide it up equally. Top tread flush with top of horizontal stringer and with bottom tread having a minimum and or maximum height the from floor.

View 3 Replies View Related

AutoCAD Inventor :: Creating ILogic Components Possible From API?

Jan 29, 2013

I'm new to inventor and I need to be able to create coppies of a part in my assembly that are uniquely identified so they can be individually changed. I see that this can be done through the ribbon with the "Place iLogic Component" button, but is it possible to do this from the API in a rule?

I am using inventor 2012 pro.

View 2 Replies View Related

AutoCAD Inventor :: Creating A Base View With ILogic

Oct 18, 2013

I kept the code simple
 
fname = ThisDoc.FileName(False) 'without extension fpath = ThisDoc.PathoPartDocPath = fpath+""+fname+".ipt"oPartDoc = ThisApplication.Documents.Open(oPartDocPath, False)oDrawDoc = ThisApplication.ActiveDocument oSheet = oDrawDoc.Sheets.Item(1)oTG = ThisApplication.TransientGeometryoPoint1 = oTG.CreatePoint2d(5, 5)oBaseView = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, DrawingViewScale, kFrontViewOrientation, kHiddenLineDrawingViewStyle, "Default")

it is a local rule in an idw file that has been saved with an ipt file of the same name saved in the same directory. Now I get the most useless error message ever devised by manking

"The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"

View 5 Replies View Related

AutoCAD Inventor :: Getting Error When Creating ILogic Rule

Oct 14, 2013

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]..........

View 4 Replies View Related

AutoCAD Inventor :: Creating Ilogic Assembly With Standard Components?

Oct 6, 2013

Long time Autocad user but now am moving most of my work across to Autodesk Inventor.

Some of the work I do is with companies that their parts are standard components that will not change.

So I am using Inventor to automate the drawings based on their requirements. For example if it needs to be 4m high. then to use 2 x 2m sections. Currently I have create different assemblies of the different potential heights that I can switch between using ilogic but I need to be able to shift the top truss arch depending on how high the truss is.

View 1 Replies View Related

AutoCAD Inventor :: Creating Part Parameter With ILogic Running In IDW?

Mar 19, 2012

Im quite new to customizing inventor and have been playing around with I-logic. I can get I-logic to enter values into existing ipt paramaters when run from a rule within the idw. I can also get I-logic to create a custom Paramater within the ipt using some copied API code, however I dont know my way around API at all yet. So...

I was wondering if it was possible to create a custom part parameter from an ilogic rule run in an idw with that ipt featured?

View 4 Replies View Related

AutoCAD Inventor :: Creating ILogic Code That Uses IParts / IAssemblies

Mar 21, 2012

I am venturing into a new area with my iLogic coding. Looking for some good examples or How-To of how to use iLogic with iParts and iAssemblies.

View 1 Replies View Related

AutoCAD Inventor :: BOM For Assemblies Within Assemblies

Jul 12, 2012

i have a valve vault assembly that i am creating that has two headers running through a large cylinder vault.  how i get a total BOM if i were to create the header assembly file separate from the the total vault assembly file.  is there a way to explode the header assembly bom when i do the drawing.

View 1 Replies View Related

AutoCAD Civil 3D :: SAC- Marked Points / Creating Corridor With Custom Assemblies On Two Alignments

Jan 7, 2014

I am creating a corridor with custom assemblies on two alignments. the alignments are not parallel and graded independently.

Between the two assemblies I would like to fill from one assembly to the other with a dynamic link. I can't do this as a target to featureline etc as it is within the same corridor. We have created the link with a target but this was done by creating a non-dynamic featureline from the corridor and using that as the target. This is obviously not great as far as keeping the corridor dnamic is concerned.

So I would like to customise a subassembly to allow it to target a marked point on an adjacent assembly.how the SAC tools (Get marked poinit or set marked point etc.) can be used to do this. The help file is less than useful. I am still on 2012 and dont have access to the 2014 SAC yet but will do shortly.

View 4 Replies View Related

AutoCAD Civil 3D :: Assemblies Not Registered / How To Get Assemblies To Work

Jul 20, 2012

I'm trying to use assemblies when creating a corridor. The Tool Pallette is emply but I can drag the assembiles in from the Catalog. I've also created an assembly using the ASC. Neither work when I try to use them. The error message is attached.

I'm using a network installation and I do not have the option of changing it to a DVD installation.

View 2 Replies View Related

AutoCAD Inventor :: Close ILogic Form With VBA Or ILogic Rule

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







Copyrights 2005-15 www.BigResource.com, All rights reserved