large cells needed

Status
Not open for further replies.

Michael Stark

Usenet Archive
Joined
Aug 3, 2000
Messages
50
Reaction score
0
Is there a way to create a cell large than 128k in a drawing ? I think I've seen one anywhere, but can't remember, and have no idea how to realize it in mdl. The cell has to be placed only in the drawing - no need to create a lib-entry. I just work with graphicgroups when the size is greater than the limit, but figured out that there is sometimes a problem when copying them (as user not from mdl) - the number is unchanged or the number of another gg is used - so if I delete the whole group it could happen that to much is deleted.

Thanks in advance
Michael
 
In uStn up to v7:
You will need to resolve to Shared Cells.
uStn Modeler uses this technique to shoehorn its solids.

In uStn v8:
There is no such limit any longer.

Best!
/Chris Z.

"Michael Stark" wrote:
Is there a way to create a cell large than 128k in a drawing ? I think I've seen one anywhere, but can't remember, and have no idea how to realize it in mdl. The cell has to be placed only in the drawing - no need to create a lib-entry. I just work with graphicgroups when the size is greater than the limit, but figured out that there is sometimes a problem when copying them (as user not from mdl) - the number is unchanged or the number of another gg is used - so if I delete the whole group it could happen that to much is deleted.

Thanks in advance
Michael
 
Hello

I don't think that this is true.

The limit is in the cell header element.

from mselems.h
/*----------------------------------------------------------------------+ | | | 2-D Cell Element (complex element, type 2) | | | +----------------------------------------------------------------------*/ typedef struct cell_2d { Elm_hdr ehdr; Disp_hdr dhdr; unsigned short totlength; // Problem field long name; short class; short levels[4]; Point2d rnglow; Point2d rnghigh; LTrans2d trans; Point2d origin; } Cell_2d;

the totlenght is the field with hold total words in the cell. UShort is 2^16 = 65536 * 2 byte = 128 K

This is the problem that larger cells are not processed correctly. If you generate larger cells in runtime and add them to the dgn file the element is coruppted and delete / move / display do not work properly.
The dgn is going to corrupt.

I V8 is this problem solved. cells are unlimmited (2^32 elements nested in cell)

I hope that you are informed about max cell size.

Greetings Olaf Giezenaar

"Michael Stark" wrote:
Is there a way to create a cell large than 128k in a drawing ? I think I've seen one anywhere, but can't remember, and have no idea how to realize it in mdl. The cell has to be placed only in the drawing - no need to create a lib-entry. I just work with graphicgroups when the size is greater than the limit, but figured out that there is sometimes a problem when copying them (as user not from mdl) - the number is unchanged or the number of another gg is used - so if I delete the whole group it could happen that to much is deleted.

Thanks in advance
Michael
 
Thanks, unfortunately this is exact what I feared.
I also asked Bentley, and they told me the same.

I used to ckeck the size of the elements (i.e. chains) I placed, created 'normal' cells and adding the content in the cell-library. Hoped someone had a tricky (or dirty) solution but - no way (til V8 :-) )

Michael
 
Status
Not open for further replies.

Latest threads

Back
Top