PDA

View Full Version : Scale P&ID drawings



jain
01-06-2011, 04:08 AM
Is there any Scale toolbar available in SPP&ID? The guide saying select change toolbar and you will get scale tool. But i am not able to find anything like this in SPPID. We have a drawing which is already dense and we need to add one more section in that drawing. So can we scale all the drawings so that it will crete a space ?? Is there any other way for this?

smartman
01-06-2011, 10:14 PM
You cant do scaling in SPP&ID. I guess the guide you are referring to must be Catalogue Manager which is used to create,customise symbols.
Best way is to split P&IDs.
Else you need to make symbols scalable and do lot of manual work.

Patrick_Aps
01-07-2011, 09:52 AM
If you are into some SQL, you might try to do the following:
1) Create a full backup
2) Create an extra version of the Drawing involved, so you can go back also by fetching the previous version
3) From then on, you're on your own risk
4) Select SP_ID from T_DRAWING where NAME = 'YourDrawingName'
5) Determine the scale factor that you want to scale: If you want to go from a DIN A1 to an DIN A0, it's 1.41. If you draw on a grid, it makes sence to scale 1.25 or 1.50
Because you do not want to double the symbols in your Catalog, we are only going to scale the positions of the symbols, not the symbols themselfs.
6) To get the list of all the things you have you need this
(SELECT SP_ID from T_MODELITEM where SP_DRAWINGID = (Select SP_ID from T_DRAWING where NAME = 'YourDrawingName') and FILENAME is not NULL)
7) Delete the yourdrawingname.pid from the shared file system.
8) To update the coordinates of all these symbols, if I make no syntax error writing this by heart, it shoud be something like this:
Update t_SYMBOL
Set XCOORDINATE = 1.41 * XCOORDINATE, YCOORDINATE = 1.41 * YCOORDINATE
WHERE SP_ID in
(SELECT SP_ID from T_MODELITEM where SP_DRAWINGID = (Select SP_ID from T_DRAWING where NAME = 'YourDrawingName') and FILENAME is not NULL);
commit;
7) Re-create the drawing and see what you got

Truth or Dare ?

jain
01-09-2011, 08:29 PM
Hi Patrick,

Thaks very much for your solution...

I am dared after the 7th step. Also the 8th step will scale all the symbols or not??
Anyway i will try it .....

smartman
01-09-2011, 10:01 PM
I think he has already mentioned that you can not scale symbols unless you customise in catalouge manager.
This process Patrick meantions will only change postions of symbols by factor.

Please understand carefully before you try anything.

ronaldo81
01-11-2011, 03:26 AM
Jain,

At one time I was trying to insert a graphic symbol a 'jpg' or 'gif' file that had gone missing from the drawing which was the company logo into the template. I tried to insert it without checking / unchecking (I don't remember exactly) and the contents in the drawing reduced to half (the template in the P&ID remained the same). The only option then was to create another drawing and copy the contents of all the old drawing to retain it to the same scale).
Try experimenting it with your test version only.

Patrick_Aps
01-11-2011, 03:55 AM
As indicated by Smartman: only the insertion point is scaled from the 0,0 which is bottom left.
The symbols themselfs will have the regular size.
This would create more space inbetween lines, but this will cause prolblems with the not-scaled equipment and the insertion points of the nozzels...

Xcoordinates and Ycoordinates are in SI units, so in meters. If you use a large page, like an DIN A0, the coordinates might become larger than 1.0, which is no problem.