This is a multi-part message in MIME format.
------=_NextPart_000_0024_01C84EF7.87A4EB00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
"Aggrevated" <tclement@[EMAIL PROTECTED]
> wrote in message =
news:91039d5b-8d36-46ec-9e06-66ee371b3607@[EMAIL PROTECTED]
Ok. So i have a model that is used to represent Oil. It has all its
parameters set so that it shows in the BOM but the model is empty so
that it doesn't appear in the assemly.
I need to put 1.5 quarts in the motor. ie... the qty column in the
bill needs to say 1.5
Can I override a cell in repeat region to show as 1.5?
How would you suggest I do this? I can't exacly put 1/2 a model in
the assembly, and creating a new part number with the description "1.5
quarts of Oil" isn't an option.
Thanks
You do this with 'Table>Repeat Region>Relations'. In relations, you set =
up some condition, such as "if asm.membr.partname=3D=3DWHATEVERITIS
qnty=3D"1.5"
else
qnty=3Drpt.qty
Then, you edit your repeat region parameters so that, instead of the =
quantity being re****ted by rpt.qty, it is re****ted by rpt.rel.qnty, so, =
for the quantity field, you have to edit the re****t parameters. Or, you =
can do 'Switch Symbols', highlight the re****t parameter text and do =
"Properties" and edit it manually.
You can do a lot of stuff with relations, such as base the value of qnty =
on file type such as setting it to AR by doing an "if =
asm.membr.type=3D=3D"bulk item" or setting a parameter in the models =
that can be evaluated different ways to treat assemblies, manufactured =
parts, COTS parts, bulk items, specs, test or assembly procedures =
differently, for example, calling out the qnty=3D"REF" instead of a =
number.=20
Most of this kind of stuff is evaluated at the beginning of the =
relations. If you are having trouble with getting it to work, do all of =
your "if" statements first, before doing any "else" statement, i.e., =
only one "else" after all the "if"s have been evalutated.
This is a fairly old technique. I wouldn't be surprised if you could =
find it on the PTC website Knowledge Base.
David Janes
------=_NextPart_000_0024_01C84EF7.87A4EB00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3243" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Aggrevated" <<A=20
href=3D"mailto:tclement@[EMAIL PROTECTED]
">tclement@[EMAIL PROTECTED]
>> wrote in =
message=20
<A=20
=
href=3D"news:91039d5b-8d36-46ec-9e06-66ee371b3607@[EMAIL PROTECTED]
">news:91039d5b-8d36-46ec-9e06-66ee371b3607@[EMAIL PROTECTED]
>...</DIV>Ok. =20
So i have a model that is used to represent Oil. It has all=20
its<BR>parameters set so that it shows in the BOM but the model is =
empty=20
so<BR>that it doesn't appear in the assemly.<BR><BR>I need to put 1.5 =
quarts=20
in the motor. ie... the qty column in the<BR>bill needs to say=20
1.5<BR><BR>Can I override a cell in repeat region to show as =
1.5?<BR><BR>How=20
would you suggest I do this? I can't exacly put 1/2 a model =
in<BR>the=20
assembly, and creating a new part number with the description =
"1.5<BR>quarts=20
of Oil" isn't an option.<BR><BR>Thanks</BLOCKQUOTE>
<DIV>You do this with 'Table>Repeat Region>Relations'. In =
relations, you=20
set up some condition, such as "if =
asm.membr.partname=3D=3DWHATEVERITIS</DIV>
<DIV>qnty=3D"1.5"</DIV>
<DIV>else</DIV>
<DIV>qnty=3Drpt.qty</DIV>
<DIV> </DIV>
<DIV>Then, you edit your repeat region parameters so that, instead of =
the=20
quantity being re****ted by rpt.qty, it is re****ted by rpt.rel.qnty, so, =
for the=20
quantity field, you have to edit the re****t parameters. Or, you can do =
'Switch=20
Symbols', highlight the re****t parameter text and do "Properties" and =
edit it=20
manually.</DIV>
<DIV> </DIV>
<DIV>You can do a lot of stuff with relations, such as base the value of =
qnty on=20
file type such as setting it to AR by doing an "if =
asm.membr.type=3D=3D"bulk item"=20
or setting a parameter in the models that can be evaluated different =
ways=20
to treat assemblies, manufactured parts, COTS parts, bulk items, =
specs,=20
test or assembly procedures differently, for example, calling out the =
qnty=3D"REF"=20
instead of a number. </DIV>
<DIV> </DIV>
<DIV>Most of this kind of stuff is evaluated at the beginning of the =
relations.=20
If you are having trouble with getting it to work, do all of your "if"=20
statements first, before doing any "else" statement, i.e., only one =
"else" after=20
all the "if"s have been evalutated.</DIV>
<DIV> </DIV>
<DIV>This is a fairly old technique. I wouldn't be surprised if you =
could find=20
it on the PTC website Knowledge Base.</DIV>
<DIV> </DIV>
<DIV>David Janes</DIV></BODY></HTML>
------=_NextPart_000_0024_01C84EF7.87A4EB00--


|