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


ADVERTISEMENT

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 :: 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 :: 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 :: 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 View Related

AutoCAD Inventor :: Change Drawing Scale With ILogic Upon Parameter Change

Jul 8, 2013

I have a spreadsheet and iLogic driven mater assy to generate different iterations.

I would like to change the scale of a base view on a drawing based on a parameter in my assembly. The idea is to get iLogic to change the view using a simple If / Else statement.

This is what I tried:

If Parameter("0 Generic Assembly v2.2.iam.BP") < 1570 Then
ActiveSheet.View("VIEW1").Scale = 1/8
Else
ActiveSheet.View("VIEW1").Scale = 1/10
EndIf

So basically the value of "BP" parameter (excel parameter in my assy) would drive the scale of the views. But its not working. Is it actually a sensible method? Can I use in the drawing environment the excel parameters in my assembly?

This is the error message I get when the rule is run:

"Error in rule: View Scale, in document: 0 Generic Assembly v2.2.idw

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" 

Also using the same thinking I use iLogic to populate the drg number field on the drawing based on an excel parameter. The rule works but does not always updates the drawing no upon the parameter change or update/rebuild commands.

View 1 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 :: ILogic Change Parameter In Any Part That Is Not A Component

Oct 1, 2013

The commented code does not work. I want to be able to open a part and change its size parameters before i open the assembly. this code will run as an external rule in a new empty file. 

If i can do it without opening the part, that is even better. Test can I open a part, change a param, then close part.

Dim fname As String
fname ="C:Workspacemy_progchanF_BB_L.ipt"
Dim pDoc as PartDocument = ThisApplication.Documents.Open(fname,False)
pDoc  = ThisApplication.Documents.Open(fname)

These are just attempts to find a syntax that works. I need the method to change the parameter.

 'param = pDoc.PartComponentDefinition.Parameter.Param("TKNS")
 'pdoc.parameter.Param("TKNS") = 8
pdoc.Save
pdoc.Close

View 4 Replies View Related

AutoCAD Inventor :: ILogic Driven Part Not Updating After Parameter Change

Jul 26, 2013

I have a flange that I use iLogic and the parameters list to update the different styles. My problem is that my flange won't update until after I hit save and update. My other square flange is not this way. As soon as I change the parameter in my square flange it immediately updates. Is there anyway I can get my round flange to update immediately like my square flange? I attached pictures below.

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Change Feature Occurrence Upon Opening Part By User

Jul 9, 2013

I downloaded a model off a website, it is, (excuse my electrical background ignorance) a jumper for terminal blocks.Our electricians use these and cut them down to size as needed.

Is there a way to use iLogic and a form or message box, to prompt upon opening the part as to how many jumpers are needed for the current assembly> It comes stock with 10, but they sometimes only use 2, 3 4 etc. etc..

I didn't model the part, but I can if it will make the rule easier to write.My idea I suppose was to have the part modeled with 2 jumpers and then use ilogic to create more if necessary.

View 4 Replies View Related

AutoCAD Inventor :: Change Multi Value Select To Custom Value Input In Ilogic User Parameters

Aug 31, 2011

I want to change 'mutil value select" to "custom value input" in ilogic user parameters. something like this:

if condition A then

multivalue.setlist("length", 1,2,3,4,5)
else

(users can enter any value they want, how can i remove the list first and set it to custom value input?)

View 2 Replies View Related

AutoCAD Inventor :: ILogic Rule For Each Part In Assembly To Change Part Parameter

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

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

Photoshop Elements :: Error - 6 When Non-admin User Tries To Run PSE9

Mar 7, 2013

Loaded Photoshop Elements 9 on a computer that is not on the internet and works fine as long as the user logging into the computer has admin privileges but a user who does not have admin priviledges gets an Error:6 that says to uninstall and reinstall the product.  Uninstalling and reinstalling the product has no effect.  I believe this to be that the normal user doesn't have permissions to a file somewhere that it needs to write to but can't seem to locate that file as I have given write permissions to Adobe under Programs & Common Files but no success.  

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

Revit :: 2012 Stopped Running For User With Admin Rights

Oct 18, 2011

Revit 2012 stopped running for user with admin rights 100% of the times. Computer is 64 bit 4 core processor 8 logical cores and 8.0GB ram.If I right click on the Revit icon and select "Run as Administrator" will will launch 50% of the time and runs OK.

View 1 Replies View Related

AutoCAD 2010 :: Unable To Load Profile File For New Non-admin / Admin Windows Users?

May 4, 2011

I HAVE THE SAME PROBLEM, BUT THE FIX IS NOT WORKING IN AUTOCAD 2012

View 2 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 Parameter Driven Text Height - 2012?

May 15, 2012

We are having issues with text height and variations depending on how the text is added.

I am currently adding etching to sheet metal parts by using the user parameters (which are driven by 3rd party source, excel file) and using a cut extrusion -1mm.

We have developed a marco which detects the shape of each letter and adds etching to our sheet metal program manually. We do this to get rid of the double lines when you cut text into a part. Our process is design in Inventor, unfold then convert to DXF 2004, where we import to our SM programming package (Radan).

I have noticed that when using 10mm simplex if the text is driven by parameters and 10 point text is selected the charecter height is 9.9928mm, however if the text is added manually it measures 10mm exactly. Why is this happening? It is probably of no concern to most, but we would need to add extra charecters to our macro to account for the descrepency, and in turn would take the macro longer to run.

When the text is added by user parameters, you can briefly see the 10mm text height flash to 9.99mm when finishing the edit sketch. Changing this to 10mm again has no effect.

what is causing this, or have any alternative ways of adding 10mm simplex single line etching to a dxf from an Inventor 2012 SM part?

View 5 Replies View Related

AutoCAD Inventor :: Cleaning Up Models By Deleting Obsolete User Parameter

Jul 4, 2012

I have created a large complex assembly that is parametrically driven by a skeletal sketch ipt by means of an embedded excel spreadsheet.

I am cleaning up the models  by deleting obsolete user parameters. But there is one that will just not give me the option to delete it.

I have interrogated the model inside and out but can not find anywhere that this parameter is still being used.

I go into the Parameter Dialogue Box (ƒx) and hover the cursor over the parameter and there is nothing that apears that indicates theis parameter is used anywhere in the model.

Is there an iLogic routine or some other method that will allow me to run a check or a search through the model that will point me to where the parameter might still be lingering.

I have attached a JPG if it will make things clearer.

RHRT_1 is the Parameter I am trying to get rid of.

BTW. The Models and Assemblies I create are guarded by Proprietry Laws so I am unable to send a copy to anyone.

Inventor 2012 Professional

View 1 Replies View Related

AutoCAD Inventor :: User Parameter Expression List - Allow Custom Values?

Mar 21, 2013

Where do I find the "Allow custom values" option for a multi list parameter expression?

View 2 Replies View Related

AutoCAD Inventor :: Add Item To Multi-Value-List Of User Parameter (2012 API)

Jan 3, 2014

IV2012 API with VB:

How can i add an item to a Multi-Value-List of an existing User Parameter in Inventor2012 (Accessing API with Visual Basic) ?

My idea is for example:

uParams.Item(i).ExpressionList.AddItem(As String)

The problem is, that such a function "AddItem" doesn't exist.

View 4 Replies View Related

AutoCAD Inventor :: Ilogic Function To Update Local Styles To Match Style Library

Feb 21, 2013

ilogic function to update local styles to match Style Library?

I have a snippet of code that, on a drawings, deletes the current parts list (if one exists), then inserts a new parts list which I want to be up to date with the Style Library.

Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

View 4 Replies View Related







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