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
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
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
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
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
> Vague memory ...
htt
is the discussion I was thinking about.
RE: Reporting family table instance parameters in repeat region
The link posted by telecomguy
ht
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
Thanks for the info - the mcadcentral post is what I was looking for.
Steve