AutoCAD Inventor :: ILogic Code To Set Parameter In Bunch Of Parts?

Jun 25, 2013

Is it possible with iLogic code to set a parameter in a bunch of parts equal to another paramter?

I want some iLogic code that will go into my pipe parts and make the PL param = D2.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Not Displaying Parameter Code Properly

Dec 20, 2012

I was working with ilogic, Adding a new rule and all of a sudden I got an error and when I double click on a parameter to add it to the code, the format changed.

It used to look like this when I added a parameter: Parameter("vertical seperation:1", "partitionthickness") 
but now when I double click on a parameter I get this: vertical seperation.ipt.partitionthickness 

Also when I right click on a parameter and select display current state, It does the same thing, for some reason the code does not display like it used to.

I got an error when this first happened and I tried reproduce the error again but it did not appear again. This affected all my parts and even in different projects.

I re installed inventor because I thought there might be a file link broken but it did not fix it.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Code To Create User Parameter?

Jul 29, 2011

I want to use iLogic to create User Parameters with Multi-Value lists filled with info from an excel spreadsheet. What is the code to create a new User Parameter?

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 4 Replies View Related

AutoCAD Inventor :: Open Parameter Dialog Box With Code?

Jul 10, 2011

I'm using VBA in Inventor 2010.  I want to create a macro that adds 3 fields to a part for LRNGTH, WIDTH and THICKNESS, as well as comments and setting the export to be export out.  My program is below and works well.  However i would like to end the macro with the parameter dialog box open.  What code do i need to do this?

Sub AddBomFields()
'adds LENGTH, WIDTH and THICKNESS user parameters to part
Dim oPartDoc As PartDocument

[Code]....

View 8 Replies View Related

AutoCAD Inventor :: Recreate A Bunch Of IV-Studio Settings To Match A Bunch Of Renders

Jun 12, 2012

I'm trying to recreate a bunch of IV-Studio settings to match a bunch of renders made by previous staff that did not leave behind the assembly files they used to make them in the first place.

I've ran into a problem with some parts displaying incorrectly. (they display incorrectly in the render/in the studio environment/ in the assembly/ and when in the part file) I've played with material and appearance styles but they have no effect, I've also tried quality/performance/compatibility hardware modes.

We have 5 or 6 parts that share the ridge pattern that is causing problems and they are affected in the same way.I'm running XP(32), IV2012-sp2, fx1800 with 6.14.0012.6570 drivers.

View 9 Replies View Related

AutoCAD Inventor :: Collapsible ILogic Code

Mar 16, 2012

Trying to make some of code collapsible.According to what i know this is achieved like this

'[
"code to be colapsed here"
']

However it does not work, I am assuming that this is because I am running INV 2009 +ilogic.

View 3 Replies View Related

AutoCAD Inventor :: Round Parameter Using ILogic?

Sep 20, 2011

how to round a parameter using ilogic.

For example. I have Roperev=Roperev_1. Roperev_1 is determined by an excel equation. I need Roperev to produce a nominal number because this parameter dries a coil revolution and I need the revolution to be a whole number.

I can not just round the excel result because the excel result needs to be multiplied by 2.53 to get the resultant for Roperev_1

View 9 Replies View Related

AutoCAD Inventor :: Using ILogic To Change Parameter

Mar 26, 2013

When I import a part from content center, a tube in this case, I get a length parameter called <PL>.

I am using this parameter in the parts lists, so it shows "=Outer diameter x thickness x <PL>"

However I don't want trailing zeros, leading zeros or units string to be shown.

I know I can open the parameters window, right click the parameter, then click custom property format and then uncheck these boxes and its fine.

But I want to know if there is a smarter way to do this, like creating a rule to execute on all the parts?

I have around 500 pipes with the parameter <PL> that needs to be changed.

View 6 Replies View Related

AutoCAD Inventor :: Pass Parameter To DLL Using ILogic

Mar 26, 2013

I have built a vb interface using a tutorial from AU. Now I would like to do the same without the interface.

Inventor uses ilogic to pass parameters to the dll - the dll does the number crunching & returns values to Inventor - no interface required.

The tutorial uses an OK button to fire values back & forth - how can I do this without a button? I would like this to fire in the background without a form appearing.

View 4 Replies View Related

AutoCAD Inventor :: Use IProperty As Parameter WITHOUT Using ILogic?

Jul 22, 2013

I know how to get a parameter into my list of custom iProperties.What I want to do is take the iProperty lbmass and add it to the list of user parameters.  Is there any way to do this without using iLogic?

View 8 Replies View Related

AutoCAD Inventor :: Ilogic Parameter Identification

Dec 31, 2012

I have several part models that are very simple and are basically long cylinders. I want to create an external ilogic rule that i can run in each part file that can identify the largest sketch parameter dimension. So basically it will find the Length of the cylinder due to it being a larger dimension and then rename the parameter.

I could just name the cylinder length sketch parameter the same in each part file, but I wanted to attempt to make it more universal for all users. So if a new user forgets to properly label his part parameters, the ilogic program can identify what parameter it should be looking for and rename it properly.

View 1 Replies View Related

AutoCAD Inventor :: Delete All Parameter In ILogic

Sep 27, 2012

In 2009 Inventor iLogic, we have a button to delete all parameters and rules. But now, in 2013 Inventor iLogic, I only find a button to delete all rules. Where is the button to delete all parameters?

View 9 Replies View Related

AutoCAD Inventor :: Get ILogic Parameter Tab On Ribbon

Sep 4, 2012

Get the i-logic parameter tab on ribbon. I am not able to locate that in my 2013 version.

have a look on attached image.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Code To Login To / Log Out Of Vault

Oct 14, 2013

I am looking for a way to log out of vault from within Inventor using iLogic codes.  I have created an iLogic rule that automates export an assembly drawing and all sub component drawings. In my code, I have suppressed all Inventor prompts but I do not have a way to suppress Vault prompts. I can manually log off from vault and run this rule without any problems. However, if I forget to do so, I am stuck responding to update requests from vault and check out requests constantly for each and every file. 

any iLogic code to log in and log out of vault?

View 1 Replies View Related

AutoCAD Inventor :: Hide ILogic Code From End Users?

Sep 18, 2013

I recently created some iLogic based components. I wonder how difficult it is to protect the iLogic code, similar as VBA code which can be password protected.

The reason being:

1. Of course, to hide & protect the creator's modeling logic;

2. To avoid the relation between parameters being messed up by the end user unintensionally.

I did have the opportunity to raise the question during the Portathon event and the answer was that the protection not directly available, though the workaround could be mixing with some Inventor API coding in .NET.

However, this might defeat one of the benefits of iLogic, simple and ease to use, gentlr learning curve, especially for users with VBA experience. .NET might not be so easy for a lot of engineers from mechanical or other disciplines.

1 Disable the "Edit" button for iLogic components, including rules, forms, etc.; 

2. Put all code that are to be protected in an external file, and then make that file unreadable (password protected, or other protection) to un-intended user, however, readable to those who have proper access privelege. 

View 5 Replies View Related

AutoCAD Inventor :: Compress Lines Of Code In ILogic?

Jan 9, 2014

A while back I figured out how to put a few characters before and after several lines of code in iLogic to make it compress to one line or expand to its full size inside the code editor. I belive this is a fairly common VBA command, but I can't figure out how to do it again.

Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer

View 7 Replies View Related

AutoCAD Inventor :: ILogic Code For Opening A Webpage

Apr 20, 2012

some code that will open my company`s webpage if the parameter is set yo <True>?

i have tried alot of that is not working:

If Visit_firenor = True Then
ThisDoc.Launch("C:Program FilesInternet Exploreriexplore","http:\www.firenor.no")
End If

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code To Close IPT File?

Aug 21, 2013

Looking for the ilogic code to place in the drawing rule to close *.ipt file that was recently open.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Copy To Buffer Code

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

AutoCAD Inventor :: How To Close Application (IPT And IAM) By ILogic Code

Mar 26, 2013

How to close an application (*.ipt & *.iam) by ilogic code?I tried to use...ThisDoc.Document.close (True) to close it.Indeed, it can close the application, but there is an error occurred as following:

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

how to avoid this error or any other way to close (or exit) the application?

View 9 Replies View Related

AutoCAD Inventor :: Create A Temple For ILogic Code?

Feb 2, 2012

I am trying to use a code window plugin on my website, and would like to create a temple for iLogic code.  Is there any way to output  iLogic code in a format that would work?

I cannot modify any of the existing templates because iLogic requires information as to whether to make some text brown or blue, and it would need some form of output to do that.

[URL]

The instruction page is here: [URL]

I have been manually highlighting or using images, but both have their problems. (cut & paste will lead to a pile of errors with the manual highlighting). I can create the css file, but need some form of output beyond cut & paste to work with.

If something is worked out, it will be added to the program and be available to everyone free (this is a Wordpress plugin).

[URL]

Self built computer with;

Quad core processor
16 gigs ram
Raptor Raid main drives
2 x 1TB Caviar Black storage drives local
2 x 1TB Caviar Black storage drives network backup

Main Software;
Product Design Suite Premium
Windows 7 Home Premium
[URL]

View 1 Replies View Related

AutoCAD Inventor :: Create Multi-value Parameter With ILogic?

May 1, 2012

Is there a way to create a multi-value parameter with ilogic?

Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Model / Reference Parameter

Apr 12, 2013

I wish I perform the following code with iLogic. Is it possible to change a model parameter to a reference parameter?
 
If My_Expression Then' My dimension "d0" is a Driven Dimension' or' My dimension "d0" is a Reference ParameterElse' My dimension "d0" is NOT a Driven Dimension' or' My dimension "d0" is a Model ParameterEnd If

View 9 Replies View Related

AutoCAD Inventor :: How To Set Multi-parameter / Iproperty Using Ilogic

Jun 26, 2012

How to set multi parameter, iproperty using ilogic (or smth else)?

I hav eparameters: d1=50, d2=100, d3=5. I need to set a new multi parameter/iproperty that the final value is:

Angle 50x100x5 (suppousedly code should contain smth like: "Angle", "d1", "x", "d2", "x", "d3") but I do not know exactly...

View 2 Replies View Related

AutoCAD Inventor :: Update User Parameter With Ilogic

Dec 28, 2013

Is it possible to update an existing User Parameter. While I can only  delete-create a new. In this case the connection is lost with BOMQuantity.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Rename Parameter Dialog Box?

Feb 21, 2013

way to rename a new dimension parameter in sketch with a dialog box directly not having to go to Functions or diemnsion properties.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Dynamic Parameter Update Off?

Aug 4, 2013

The rule iterates through an assembly looking for parameters. If it finds them it 'pushes' the value down from the top level Assembly into the sub-components.

It works well, but each component updates dynamically as the parameter value is changed. This looks a bit jerky and weird.Is there any way to write the script so the the updates all happen at once at the end?

' set a reference to the assembly component definintion.' This assumes an assembly document is open.Dim oAsmCompDef As AssemblyComponentDefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition'Iterate through all of the occurrencesDim oOccurrence As ComponentOccurrenceFor Each oOccurrence In oAsmCompDef.Occurrences'check for and skip virtual components'(in case a virtual.
[code]...

View 7 Replies View Related

AutoCAD Inventor :: ILogic - Perform A CODE Using IProperty Information

Sep 17, 2012

I want to use Ilogic to construct a code part name.

My question is perform a code of about 12 characters. For example the parameter "Lenght" is 600mm but in the expressione result It must be "000000000600" (a string of 12 characters)

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code Doesn't Work Anymore?

Nov 19, 2013

I have a iLogic rule for saving drawings (dwg) to a pdf file in a designated folder. Everything worked well until this Monday morning. Now I get the message: Error in rule: Save2PDF, in document: 13006-027 propflens-1.dwg Value cannot be null.

Inventor 2014 sp1 | Vault basic 2014 | HP Elitebook 8670W | win7 64b | 8Gb | GMT +1

View 2 Replies View Related

AutoCAD Inventor :: ILogic Code Giving Error When Executed

Jan 23, 2012

However, I have one iLogic routine that is giving me an error whenever I run it. Selecting continue allows it run as expected. Basically, it is to remind designers to set the material type to other than “Default”.

Here is the Materialsddd = 0' deleted parameter materialName = ThisDoc.Document.ComponentDefinition.Material.Name If materialName = "Default" Then MultiValue.List("MName") = iProperties.Materials MName = InputListBox("Select Material", MultiValue.List("MName"), Mname, Title := "Select Type", ListName := "MM List") iProperties.Material = Mname iLogicVb.UpdateWhenDone = True The Parameter MName does exist as a mulitlist parameter.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Code To Embed Externally Ran Rule To Ipt

Jan 12, 2013

I have put together some ilogic code which is embedded within a part template, this auto populates the iproperties with the profiles length,width and thickness, and also automatically updates when any changes are made to the said profile When I hit save.

This works a treat when creating new parts, the problem arises when re-using old parts from previous jobs (Which is a regular occurrence),prior to when the code was created.

So I have to run the code as an external rule, but this has caught me,and a few other people out, as we have forgotten to run the rule after making a change to the part so the iproperties aren't automatically updated.

 My question is, is there a snippet of code that I could add to my code, which embeds the the externally ran rule to the Ipt? 

View 1 Replies View Related







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