- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear everybody,
I'm trying to write some macro now for several weeks and although I've been able to find lots of information on sites like this one, i can't get through the following problem:
In the drawing there's several blocks, which are selected by user and then added to a selection set.
What I want to do now is to insert a new block, which is created by the macro, on the same insertion point as all the selected blocks, next to that, i want the inserted blocks on the same layer as the selected block.
So, I know how to insert a block on a certain point by manually tell the insertion point(0 to 2). But I can't find out how to get the insertion point from a block in the selection set, and use this insertionpoint as insertionpoint for the new block. Probably, when I know how to do one, by saying "for each x in y" i guess it will be possible for all the blocks in the selection set.
Could someone give me some hint or link where the thing I want is described?
Thanks.
Solved! Go to Solution.