Topic Options
#75047 - 10/02/20 04:00 AM existing components in piping database
jdright2711 Offline
Member

Registered: 04/25/18
Posts: 76
Loc: Ireland
is there a simple way to filter out components in piping database marked existing in model?

Top
#75048 - 10/02/20 06:29 AM Re: existing components in piping database [Re: jdright2711]
MattCB Offline
Member

Registered: 11/22/06
Posts: 718
Loc: Wichita, KS
It should be putting everything on the existing layer

Top
#75049 - 10/02/20 08:51 AM Re: existing components in piping database [Re: jdright2711]
dgorsman Offline
Member

Registered: 02/28/06
Posts: 1646
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.
_________________________
If you are going to fly by the seat of your pants, expect friction burns.

Top
#75059 - 10/08/20 07:27 AM Re: existing components in piping database [Re: jdright2711]
jdright2711 Offline
Member

Registered: 04/25/18
Posts: 76
Loc: Ireland
thanks

Top
#75245 - 12/10/20 09:19 AM Re: existing components in piping database [Re: jdright2711]
shollinger Offline
Member

Registered: 07/20/05
Posts: 281
Loc: Baton Rouge
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));
_________________________
shollinger

Top



Moderator:  Dominik Hepp 
Who's Online
0 registered (), 30 Guests and 2 Spiders online.
Key: Admin, Global Mod, Mod
April
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Forum Stats
12065 Members
14 Forums
16973 Topics
75151 Posts

Max Online: 303 @ 01/28/20 11:58 PM
Top Posters (30 Days)