Autodesk Inventor
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
iRules & Parameters
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
134 Views, 3 Replies
11-22-2012 05:54 AM
I want to reference parameters in an iRule in such a way that the value of parameter A determines the value of parameter b.
In this case i want to reference the dimensional height of a UC beam into a parameter <UC_HEIGHT> and then allow this to determine the value of uc designation size in a parameter <UC_DESIGNATION>
This would be useful because instead of typing the uc designation of a beam into the part description or matl. list i can just reference a parameter.
Is this possible? Iv tried an iRule along the lines of
if parameter (uc height) = xxx.x then parameter (uc designation) = 'custom test'
but get error messages
Cheers,
Sandy
Re: iRules & Parameters
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-22-2012 06:13 AM in reply to:
shmartin89
'custom text'****
Re: iRules & Parameters
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-23-2012 01:24 AM in reply to:
shmartin89
IfParameter("uc_height")=10
Parameter("uc_destination")="custom text"
EndIf
Wayne Helley
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
Re: iRules & Parameters
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-23-2012 03:51 AM in reply to:
waynehelley
* Use "End IF', not "ENDIF"
Pasting into IE erased the space.
Wayne Helley
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit

