existing components in piping database

Posted by: jdright2711

existing components in piping database - 10/02/20 04:00 AM

is there a simple way to filter out components in piping database marked existing in model?
Posted by: MattCB

Re: existing components in piping database - 10/02/20 06:29 AM

It should be putting everything on the existing layer
Posted by: dgorsman

Re: existing components in piping database - 10/02/20 08:51 AM

Existing/new is bit-coded into one of the fields, along with fabrication/erection/module/offshore and a couple of others. You'll need to do a bit of work to dig it out e.g. bitwise AND with the appropriate mask, or convert to binary and check the digit value.
Posted by: jdright2711

Re: existing components in piping database - 10/08/20 07:27 AM

thanks
Posted by: shollinger

Re: existing components in piping database - 12/10/20 09:19 AM

the query to run is

SELECT PIPE.DWG_NAME, PIPE.ALPHA_SIZE, PIPE.LINE_NUM, PIPE.LONG_DESC, ([PIPE]![FLAG]\(4)) Mod 2 AS STATUS
FROM PIPE
WHERE (((([PIPE]![FLAG]\(4)) Mod 2)=0));