×
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

Reporting family table instance parameters in repeat region

Reporting family table instance parameters in repeat region

Reporting family table instance parameters in repeat region

(OP)
Hi,
I'm trying to include the diameter and length from family table instances in the "DESCRIPTION" column in my BOM table.  For example it would read  .375DIA X 2.0LNG
My parameter in the BOM table is asm.mbr.DESCRIPTION. I tried creating a relation that read:

DESCRIPTION=basic_dia "DIA X" L "LNG"

where "basic_dia" and "L" are parameters in the model and
DIA and LNG are parameters that I created. I don't know if it is a syntax problem or that it can be done at all. Any help would be appreaciated.
Thanks
SWF1

RE: Reporting family table instance parameters in repeat region

Because you are dealing with strings, you need to concatenate them.

Description = basic_dia + "DIA X " + L + "LNG"
DIA and LNG do not need to parameters.

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

Ben Loosli
Sr IS Technologist
L-3 Communications

RE: Reporting family table instance parameters in repeat region

(OP)
Bob,
Thanks for your response. When I insert that string I get an error message:
DESCRIPTION=basic_dia + "DIA X " + L + "LNG"
errorInvalid data type combination at right side of expression
If I use an ITOS function it works for the length by returning the correct value however if I use the ITOS function for the diameter it does not return a value (In the parameter list next to the parameter DESCRIPTION)

SWF2

RE: Reporting family table instance parameters in repeat region

(OP)
Ben,
Sorry I meant to put Ben and NOT Bob

Steve

RE: Reporting family table instance parameters in repeat region


itos() = integer to string.  Real numbers are rounded.

You might get away with something like "."+itos(dia*1000) ... and conditional statements if it gets more complicated.

Are these going to be shown in a repeat region?  Seems I remember seeing (somewhere; would have to hunt for it, myself) a discussion re concatenating values in a repeat region cell, i.e. ...
   &asm.mbr.dia "DIA x " &asm.mbr.len "LEN"
... Vague memory.  Maybe someone else can confirm or elaborate.

RE: Reporting family table instance parameters in repeat region

...  just ramblin' on ...  ;^)

The link posted by telecomguy
  http://www.profilesmagazine.com/p26/tips_wehner.html
is a worth looking at.  Create the note, a param of type
Note to read it and a relation "description = note_param" ?

RE: Reporting family table instance parameters in repeat region

(OP)
Jeff,
Thanks for the info - the mcadcentral post is what I was looking for.

Steve

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