Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Insertion Point for objects

Anonymous
Not applicable
I just know I'm missing something simple, but how do I set the insertion point on an object?
7 REPLIES 7
The default insertion point is determined by the first HOTSPOT2 statement in the script. For drawn symbols, I'm not sure, probably the first one placed.

You can change the insertion point in the settings dialog by clicking on the Xs in the 2D symbols preview window. The current insertion point has a box.

If you Opt(Alt)+click on an object's node, that node becomes the insertion point in default settings.

HTH,
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Anonymous
Not applicable
James, yes, I thought that was how it was done - however, its not working for me. In my 2D Script, The first thing I do is set a HOTSPOT2 0,0 and then I generate my 2D stuff from that point. However, it is still inserting from the bottom left corner.

I realize that I can change the insertion point in the dialog box, but the whole idea here is to make life easier for me by making the object do what I want with fewer clicks and adjustments.

Is it possible that I have something else that is superceeding that HOTSPOT2? Any other ideas? Anyone?
In the main library part editing window, the details button, make sure "Hotspots on bounding box" is unchecked. That's my very last idea.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Anonymous
Not applicable
Thank you James. That did it. I now have it inserting where I want it to insert. Thanks again.
Anonymous
Not applicable
sirduncan wrote:
Is it possible that I have something else that is superceeding that HOTSPOT2? Any other ideas? Anyone?
Hi sirducan,

I am very surprised with your results, but of course i trust you.
I have a test object for 2D anchor point, in french, so i don't think it will help you.

James remarks said the main. If it still doesn't work, maybe there is something else.
Sometime a tiny detail can make the difference.
Could you post or send privatly the object, or at least the 2D script, so we can take a look?
Anonymous
Not applicable
Olivier,

The object is working fine now as I want. I start at zero then go negative and positve in the generation. This way I call out the HOTSPOT2 0,0 and it gives me the insertion point where I want it.

The object is still in its infancy so I'm not sure I want to pass it out just yet - I still have lots to add. Perhaps after I get a little happier with my results I can share it.
gerd
Participant
one further idea (a variant of the things said before):
if only 2d symbol is used you could put the favourite hotspot on a separate layer (for example #10) and call this first in the 2d skript:

! 2d skript
! the layer with the favourite hotspot
fragment2 10,1
! the other layers, maybe with further hotspots
fragment2 1,0
fragment2 2,0
fragment2 3,0
!!!! ...

of course this should also work with
hotspot2 x,y
in the first line

best regards, gerd