Join command in Advance Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All. I'm after some help with this pleasae.
I want to insert 4 blocks into my drawing to form a square shape. The original 4 entities that I made are polylines and are saved as blocks in one drawing called BLOCKS_1.
I start a new drawing and insert BLOCKS_1 into my drawing. This then makes the 4 polyline blocks available in my current drawing.
I am then inserting the 4 blocks each at their relative 0,0,0 point which arranges the blocks how I want them.
Heres where I cant get the join command to work. (I can manually join the 4 entities together using the JOIN command)
After inserting the 4 blocks I am exploding them so they are now polylines and their end points are touching to form a square.
this is an example of the code to only insert and explode 1 of the entities. I repeat this insert 3 more times, and change the ENTLAST to Ent2 Ent3 Ent4
(command "-insert" "Infil_HL" (0.0 0.0 0.0) "" "" "") ;Infil_HL is the block name one of the 4 entities thast are present in the drawing
(setq Ent1 (entlast))
(command "_explode" Ent1)
(command "_join" Ent1 Ent2 Ent3 Ent4)
Regards Tony