2023-04-24 08:29 AM - edited 2023-04-24 09:23 AM
Hi all,
Is there a way to set the origin of a 2D object created from the floorplan? I am wanting to add the option of calling a custom symbol, but the origin is always the bottom left no matter the position of the original saved out elements when means it never sits in the corrected location when called.
At the moment you have to draw on (0, 0) then edit the generated script removing the ADD2 and MUL2 commands... It would be a lot more user friendly to not need to do the code modification...
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win10 | R5 2600 | 16GB | GTX1660 |
2023-04-24 09:27 AM
If you are creating a 2D object from lines and fills in plan, I always move them to the Project Origin before saving as an object.
Place the point you want to use as the default base point position on the Project Origin.
i.e. centre it over the origin if you want the centre as the base point.
Then in the saved object 2D script, remove the first ADD2 command.
Archicad puts this ADD2 in to automatically set the bottom left corner as the base point.
Barry.
2023-04-24 09:57 AM
When you develop an object in floor plan and want to save it as an object, you should draw/model the components on the ground floor near the project zero point. You create the handles in 2D with fixed points/hotspots.
When you have placed the finished object, you can select the anchor in the settings dialog in the preview window by a click on the hotspots/cross (anchor = square).
2023-04-24 10:16 AM
select the anchor in the settings dialog
The object is called into another by user definition, so you are locked into what ever the object origin is.
@Barry Kelly , yeah... I have put a note mentioning that that is required... It is annoying as the aim was to give an option to people who did not want to script... but hey, opening an object and removing 2 lines seems to be as easy as it will get at this stage...
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win10 | R5 2600 | 16GB | GTX1660 |