cadmunky69
Industrial
- Nov 28, 2006
- 27
hi folks,
okay, here's what i have: top assy is a skid with pressure vessels, pipe runs, cabinets, etc. each pipe run is a subassy of fittings, valves, gauges, etc located on a datum curve defined by points (offset csys). the pipe itself is a part created in assy and thin protrusions extruded between fittings. the drawing i'm working on will depict several of these runs in simp reps on each sheet showing the particular pipe runs integration to the skid, with a BOM for each on it's related sheet. now...
1. i'm using the pipe as a bulk item, so i want the part in the BOM to have a qty of AR. to the table relations i've added:
IF asm_mbr_ptnum == "105426"
qty="A/R"
else
qty=rpt_qty
endif
but it's not passing the "AR" value to the table. i get no errors either. i've tried modifying the syntax a couple different ways to no avail.
2. once i get this working, i'd like to pass a value for the approx length of pipe i've used to a drawing note. hopefully by way of a simple relation to add the parameter:
APPROX_PIPE_LENGTH=pro_mp_mass()/.071
i've done the BOM report before, but using a different report parameter, and it worked. dunno why this one isn't. i haven't exactly the same kind of function with the mass parameter. i feel like i'm missing a step, but all the references i'm looking at are from 2001. maybe some of the required syntax changed? any help will be greatly appreciated.
Ed Lee
Sr. Designer
H2Gen
Alexandria, VA
okay, here's what i have: top assy is a skid with pressure vessels, pipe runs, cabinets, etc. each pipe run is a subassy of fittings, valves, gauges, etc located on a datum curve defined by points (offset csys). the pipe itself is a part created in assy and thin protrusions extruded between fittings. the drawing i'm working on will depict several of these runs in simp reps on each sheet showing the particular pipe runs integration to the skid, with a BOM for each on it's related sheet. now...
1. i'm using the pipe as a bulk item, so i want the part in the BOM to have a qty of AR. to the table relations i've added:
IF asm_mbr_ptnum == "105426"
qty="A/R"
else
qty=rpt_qty
endif
but it's not passing the "AR" value to the table. i get no errors either. i've tried modifying the syntax a couple different ways to no avail.
2. once i get this working, i'd like to pass a value for the approx length of pipe i've used to a drawing note. hopefully by way of a simple relation to add the parameter:
APPROX_PIPE_LENGTH=pro_mp_mass()/.071
i've done the BOM report before, but using a different report parameter, and it worked. dunno why this one isn't. i haven't exactly the same kind of function with the mass parameter. i feel like i'm missing a step, but all the references i'm looking at are from 2001. maybe some of the required syntax changed? any help will be greatly appreciated.
Ed Lee
Sr. Designer
H2Gen
Alexandria, VA