×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Intelligent fasteners and repeat regions

Intelligent fasteners and repeat regions

Intelligent fasteners and repeat regions

(OP)
We use a hardware library in Windchill with Creo 3. It works, but I started playing with the Intelligent Fastener tool and really like it. It's much faster/easier than using hardware libraries.

Therefore, I'm trying to get our BOM to work with it.

Here's my stupid part:


And here's my current BOM:


With the current relations:


Here are the screw parameters:


So I wrote this relation in an attempt to select either the screw parameters (naming, designation) for item and description or our standard model parameters (drawing_num, description), and then to tie that to the repeat region using the new parameters (item_name, item_description). The new repeat region parameters are (asm.mbr.item_name, asm.mbr.item_description). Ignore the first block, that's to list bulk items with an "AR" for quantity.


But I get an empty BOM with this relation. Using "naming" and "designation" for my repeat regions, I can get the screws to show up, but not my created hardware:




So. Any idea what I'm doing wrong? I've spent several hours trying different combinations but can't seem to get it to work.

Wise men learn more from fools, than fools do from the wise.

RE: Intelligent fasteners and repeat regions

(OP)
Also, is there a way to make all text uppercase? I don't see a "toupper()" function, like some programming languages have. My guess is you'd have to write additional relations for this capability.

Wondering if I should just give up and stick with our hardware libraries...

Wise men learn more from fools, than fools do from the wise.

RE: Intelligent fasteners and repeat regions

(OP)
Here is my repeat region:


And the result:

Wise men learn more from fools, than fools do from the wise.

RE: Intelligent fasteners and repeat regions

1) There is no upper conversion routine. You would need to extract the ascii value of each letter then determine if it is upper or lower and if lower, rewrite the string with the upper value. I used a subroutine for this when I did GRIP programming in UG/NX.

2) Use asm.mbr.item_name and asm.mbr.item_description as your repeat region fields. You did the asm.mbr for the original parameters then switched.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Intelligent fasteners and repeat regions

(OP)
Thanks for the help Ben. Since I've posted this, I've revised the code and corrected the error you mentioned. However, I still can't get this to work.

To simplify, I'll show only the one section (description). Currently I have the following code written:
if exists("ASM_MBR_DESCRIPTION")
item_description=asm_mbr_description
else
item_description=asm_mbr_designation
endif

So now the table will show the description for my created parts, but is blank for the screw file. I've tried several of the parameters listed, as well as making my own parameters (BUWSIZE and NICKG). I can't get anything other than "asm_mbr_name" to display in my table. Here is the parameters shown on the hardware:



I appreciate the help you've given. Hoepfully it's something simple I"m overlooking.

Wise men learn more from fools, than fools do from the wise.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close