AutoCAD Inventor :: ILogic - Modify User Form Parameter Read Only Status

Jan 9, 2013

Any way to modify a user form parameter's read only status using a rule?

I have a parameter that I want people to be able to edit when another parameter is set to true and to be locked if it's set to false. The only thing that comes to mind is have a rule that will just switch the value back automatically if the user changes it but it would be good if i could control the read only status.

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Rule To Read Out User Parameter Of IPart

Nov 1, 2012

I've created a main assembly containing several ipart components. With the following rule I can read the model parameters, but not the user parameters of the iparts:

A = Parameter("Part1:1", "d0")
 
If I create a component, insert it in the main assembly and make it an ipart afterwards, the user parameters can be read out with ilogic. But if I insert the same ipart again, the user parameters can not be read out anymore. Model parameters are no problem. 

View 1 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 :: How To Detect If User Pressed Yes / No / Cancel In ILogic Form

Feb 21, 2013

How do I detect wich button the user pressed in the iLogic-form?

I can show it like this:

result=iLogicForm.ShowGlobal("MyForm", FormMode.Modal)

 I guess that result is of type FormReturnValue - but I can't guess the qualifier (FormReturnValue.OK / FormReturnValue.OkBtn / ?)

View 8 Replies View Related

AutoCAD Inventor :: Create User Parameter Values With ILogic

Oct 29, 2012

Macro for writing the sheetmetal Extents width and length to the custom properties.  I need to get these values into the part parameters so that they can be used in the BOM.

I can get this to work if I manually create the "SM_Length" user parameter, but how do I make the iLogic CREATE the parameters if they do not already exist?  I think it would be something added below the "Catch..." just cant seem to figure out what it needs to be.

'look for custom iproperty and try to set it
Try
iProperties.Value("Custom", sExtLength)=Round(SheetMetal.FlatExtentsLength, iRoundValue)
Parameter("SM_Length")=Round(SheetMetal.FlatExtentsLength,4)

Catch
' assume error means not found and create it
customPropertySet.Add(Round(SheetMetal.FlatExtentsLength,iRoundValue), sExtLength)
EndTry

View 9 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 :: Cannot Change Parameter Value For ILogic Unless User Is A Local Admin On PC

Aug 23, 2012

I have a users who cannot change parameter values for iLogic unless user is a local admin on the workstation. This machine has just been upgrade to Inventor 2013.

View 1 Replies View Related

AutoCAD Inventor :: Change Library Content Centre Status From Read Only To Read / Write

May 4, 2012

How to do it?

I am using Inv/Vault Pro 2011.

View 9 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

AutoCAD Inventor :: Form Picture - Parameter Driven Picture On A Form

Apr 10, 2013

I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.

I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...

Is there a particular reason why the Picture Parameter only can be a text parameter?

View 2 Replies View Related

AutoCAD Inventor :: Parameter Precision In Form

Apr 11, 2013

I have the following problem:

I have created a form in which I need to see the volume value. For that I created a User Parameter that is set to be equal with part's volume:

Volume=iProperties.Volume

What I don't like is that the precision for the parameter is too long and I can't change it.  I changed the precision in Document Settings and also for the parameter itself in the Parameters window, but these changed don't affect what is the form.

View 5 Replies View Related

AutoCAD Inventor :: Activate Enter In User Form?

Aug 1, 2013

I have created a new form  using three fields, to show quantities, job no etc. and was wondering what code I need to use to be able to push enter after filling out a field and then jumping to the next field?

View 4 Replies View Related

AutoCAD Inventor :: Modify Category In User Library

Nov 27, 2012

I have a question regarding to modify category in a user library. I have to publish a part into a special category in Inventor 2012. These category asks for an Parameter which doesn't exist in my part. Actually is an absolutely useless Parameter so i want to delete it from category. The category was created by an user but i don't know how to delete the parameter. Only if i create a new Category i can change the category-properties just till its created.

View 6 Replies View Related

AutoCAD Inventor :: Selection To Be Copied To Custom Parameter When Form Closes

Feb 10, 2012

I would like to use a multi-list parameter in a form, that isn't a problem. However I want the selection to be copied to a custom parameter when the form closes. Is there anyway to fire a rule when the form closes or to add a multi-select list to a parameter, in a form?

View 2 Replies View Related

AutoCAD Inventor :: Add Boolean User Parameter?

Aug 24, 2012

Looking for sample VBA code to get all referenced documents from an assembly and add a boolean user parameter to each (parts and sub assemblies).  I have been trying to modify peices of code I have found on this forum and Mod the Machine, but have had no luck so far. 

There may also be standard content center parts in the assembly as well that I would like to somehow identify so I can skip over them.

View 1 Replies View Related

AutoCAD Inventor :: Delete User Parameter

Apr 22, 2013

Most of the time, I delete an user parameter without problem. But, in a part, I got an error for two of them and I don't understand why.  I create a new parameter and redirect all dependencies from the old one to the new. (oldParam.Dependencies.Count = 0).

But when I try to delete it, I've got an error. Also, when I try to delete it by the interface, I don't see the Delete option.

View 8 Replies View Related

AutoCAD Inventor :: How To Add User Parameter (Text Value)

Jun 10, 2011

Parameters with a text value, How do I add userParameter? In iLogic 
 
Examples. DoubleValue)

Sub Main()    

Dim oCompDef As PartComponentDefinition
oComDef = ThisApplication.ActiveDocument.ComponentDefinition
Dim oParams As Parameters
oParams = oComDef.Parameters
Dim uParams As UserParameters
uParams = oParams.UserParameters
strVal= uParams.AddByExpression!("strVal", 0.15, "mm")
iLogicVb.UpdateWhenDone = True
End Sub

View 6 Replies View Related

AutoCAD Dynamic Blocks :: Passing A Value From The Action Parameter To A User Parameter

Dec 1, 2013

I need to use the dimension created by an action-parameter as a variable in a user defined function but AutoCAD will not allow me (see attached).

How may I access the action-parameter's dimension ?

View 1 Replies View Related

AutoCAD Inventor :: Don't Have A User Parameter Linked To A Dimension

Aug 6, 2013

I'm having problems with the parameter menu. When I don't have a user parameter linked to a dimension in the model the parameter disappears out of the parameter menu.

View 2 Replies View Related

AutoCAD Inventor :: Changing User Parameter In Assembly

Apr 1, 2003

I have a part file ("part1.ipt") that has a user parameter called "Height". When I open this file as a part document, I can modify the "Height" parameter to change the height of the part. This functionality works great:

Set oPartDoc = oApp.Documents.Open(sPartFileName, True)
Set oParameters = oPartDoc.ComponentDefinition.Parameters
'change part height to 30 cm
oParameters.Item("Height").Expression = 30

Now, I am wanting to add this part to an ASSEMBLY document, then change the parameter to 30, but have been unable to do it.
I have this so far:

Dim oAsmCompDef As AssemblyComponentDefinition
Set oAsmCompDef = oApp.ActiveDocument.ComponentDefinition
Dim oOcc As ComponentOccurrence
Set oOcc = oAsmCompDef.Occurrences.Add(sPartFileName, oMatrix)

After I add all the parts, I highlight a part in the assembly pane, I click on FxParameters but I don't see the User Parameters for the part. Are the User Parameters not available when a part is placed into an assembly?

This assembly will have multiple parts added from the same file name, but the "Height" parameter needs to be modified for each occurrence.

View 5 Replies View Related

AutoCAD Inventor :: How To Export Text User Parameter

May 2, 2013

Is there a way to export a text user parameter?

View 8 Replies View Related

AutoCad :: Use User Defined Parameter To Drive Action Parameter?

Feb 7, 2012

it is possible to use a user defined parameter to drive a action parameter.

I have several polar and linear stretch actions i would like to drive from one parameter.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Form Trigger

Nov 29, 2012

I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.

my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited.... 

Is there a snippet of code for this? Or is it even possible?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Update Form

Sep 13, 2013

I´m having a bit of an issue with a form.

I have a global form which is exactly made for a specific assembly for configuration of this very assembly. To make things easier for the user I call another external rule which only opens exactly this assembly.

Now when the user opens the form the assembly is not open and obviously can´t reference the used parameters.

Even after loading the assembly the parameters are not available, which results in something like this:

So this is a really simple question, is there a way to update a form so that it rereads the parameters from the assembly?

What I tried is using iLogicForm.CloseGlobal("Name of form") to no availability and then open it again with iLogicForm.ShowGlobal("Name of form").

But I couldn´t find any further info on the iLogicForm Commands.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Form Tabs

Apr 17, 2012

I have a iLogic Form which includes several Tabs. Can I control which Tab is active if I select a radio but which controls which feature is active in the part? I have attached a picture of the Form.

View 1 Replies View Related

AutoCAD Inventor :: Put Immediate Update Box On Ilogic Form

Aug 17, 2012

I am trying to put an immediate update box on my form in ilogic.  I want to be able to change parameters on my form without updating the model.  There is this option in the parameters window but not in the form.  How can I accomplish this?

View 1 Replies View Related

AutoCAD Inventor :: User Defined Text Parameter In IPart

Aug 17, 2011

I am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic.  Really I am just playing around in iLogic to see if this is something worth learning.  Back to the point, I would like to change a  multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab. 

Since it is a user parameter I thought it would be in the "Other" folder but it isn't.  I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table? 

INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM

View 9 Replies View Related

AutoCAD Inventor :: Export Multi Value Text User Parameter

Aug 26, 2010

I created a sketch that I would like to use in an iFeature.  The sketch dimensions are controlled with an ilogic rule referencing a multi value text user parameter, eg the text parameter pull down menu controls the size of the part.

Is there an easy way to get this parameter into an ifeature or derived part?

View 4 Replies View Related

AutoCAD Inventor :: User-defined IProperties In Read-only IDW File Do Not Appear

Apr 10, 2012

I've some user-defined iProperties in my idw-file. As soon as I set the file to "read-only" (via explorer RMB->properties) these iProperties are not shown on the drawing sheet when i open the drawing. ow to abandon this effect?

View 3 Replies View Related

AutoCAD Inventor :: Drop Downs In ILogic FORM?

Aug 1, 2012

Can you have dropdowns in an ilogic FORM? For example I want to setup 5 choices for a custom iproperty. Then when I run the form I can pick from those 5 choices only? Please click "Accept as Solution" if this response answers your question.

Down with IDW/DWG files..... Long live 3D PMI..

View 9 Replies View Related

AutoCAD Inventor :: Ilogic Form Picture Usage?

May 6, 2013

i want to use pictures with my forms and was wondering if i can use them like the way i showed in attached image.

the CaseA image is the one i can currently use and CaseB is the way i want to use. My reason to do this is, i have alot of parameters to change and having both the picture and a menu below/above takes alot of space which also seems redundant.

View 7 Replies View Related







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