• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

insert blocks with attributes and get distinct

  • Thread starter Thread starter reggio
  • Start date Start date

reggio

Guest
hi, I would like to understand to great lines if you can automate and solve a part of a problem, I make a simple example to clarify:

Yes images of having to get a set of distinct from a single design (possibly)
you imagine that you have to create (manually) a "nesting" of shipment, we must pack and ship of the material of different form:
20 biscuits
15 balls
30 discs
...
and have 5 different size boxes available

as first operation I would like to draw the rectangles that represent the boxes in the plant or section, for some of them I could draw more than one rectangle to represent for example "box1-background" "box1-floor central" "box1-second floor" and to each rectangle assign a name attribute to recognize it from others.

after which I would begin to insert in the drawing the blocks that represent each of the materials to be sent, these blocks will already contain a weight attribute (birillo=1kg , ball=2kg, etc.) and I would like to assign a name attribute to every single block I enter to recognize it from others (birillo-1, birillo-2, birillo-3, ..ball-1, ball-2, ..).

at this point, manually, I would move the various blocks inserted, inside the various rectangles that represent the cartoons, I will try to frame them to the best.
the final result that I expect to get with a command or a macro or lisp or other .. would be the "distinct" of the material contained in each box or plane of the boxes as in this example:

box1-base= reel-8 1kg + reel-19 1kg + ball-6 2kg + disk-11 6kg + disk-30 6kg - total 5 pieces - 16kg
box2= towel-4 1kg + towel-11 1kg + ball-1 2kg + ball-2 2kg + disk-10 6kg + disk-13 6kg - total 6 pieces - 18kg
...

Would it be possible for you? How? would you make a small example?
 
I'll throw it there... if you use a data extract? I used it little and I don't know how to help you in the use, but it is possible to do the operation for selection of objects. definitely extracts the value of attributes and then exposes it to xls or similar
 
... if you use a foreign data? I used it little and I don't know how to help you in the use, but it is possible to do the operation for selection of objects. definitely extracts the value of attributes and then exposes it to xls or similar
Okay, you say that in that way is feasible?
only that now I would like to know how with qlc exampleetto or tutorial to follow or fuck as a base ...
So you say that the "attributes" do not serve in this case and I must try to understand more about the "objects"? where do these objects live? Is he gonna find them?
 
So you say that the "attributes" do not serve in this case and I must try to understand more about the "objects"?
no, I say that you will extract data even the values of attributes. by objects I mean entities present in the drawing. if in the design you have10 packing versions with data extracts you can do the action on all drawing or only on what you select (so one box at a time)
It's not a lisp automatism, but I think it's a starting point. Perhaps
 
and if instead you draw the 3d in the assemblies and extract the distinct in a normal way? Can't you see how to fit the pieces in the boxes? I in 2d I only make the tables for those who work the pieces but don't work there practically anymore....also autocad... only if you can't give different. . .
 
and if instead you draw the 3d in the assemblies and extract the distinct in a normal way? Can't you see how to fit the pieces in the boxes? autocad... only if you can not give different. . .
it would have a lot of advantage but also a lot of obstacles:

- consider that the example speaks of boxes and pins, the reality is made of stripes and containers

- a shipment can also count 50 conveyor belts = 20 container = 40 cages(containers) would be unmanageable by swx (if you want to find the optimized tapes you need to have all the brushes in one design and try the "nesting").

- we almost never draw all the tapes (shortly, we have a sort of separate text configurator) and even if we could draw them in a short time (with the 2d I had a lisp that did, not succeed in bringing it back in 3d was the first disappointing flop of swx... for this reason we still use the 2d for certain things) all the tapes, each together would be drawn in a way (ud whole) that will not shipped.

I fear I have to settle for the 2d, so I seek help and suggestions in that verse :d
 
Okay, you say that in that way is feasible?
only that now I would like to know how with qlc exampleetto or tutorial to follow or fuck as a base ...
So you say that the "attributes" do not serve in this case and I must try to understand more about the "objects"? where do these objects live? Is he gonna find them?
use the command estrdati or _dataextraction, both of you refer to a wizard. as Mass says is not pure automatism but I think it can help you speed up the process
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top