Sorry, I am a little confused.
Do you mean to edit the 2D script to add Hotspots for insertion? Unlike Objects, which allow you to pick a hotspot to use before insertion, Doors and Windows are inserted by their Anchor Point, which is a Geometry Method that you select from the Info Box before, or during placement. After the door is placed, you see that the frames already have plenty of hotspots when displayed with full Detail. I think there is more to the GDL solution than a couple HOTSPOT2 statements added to the existing script.
Even worse would be adding hotspots to a door in plan and saving the door and hotspots from the floor plan as a new door.
So, I think this is a genuine wish-list suggestion for Graphisoft to standardize the insertion anchor point so it is determined by the nominal size setting used for the particular door. This would have the added benefit of making the distance between the two corner anchor points equal to the nominal width of the door. I.e. a typical American commercial 3068 door would have corner anchor points 3' apart, one of which would match the hinge location, which is more important in design than rough opening, which is where they appear now.
And for the center anchor, it should be the center of the nominal size, so that when we place a door with sidelight, our center can be the center of the door leaf, not necessarily the center of the whole door and sidelight assembly.
RATCLIFF CONSULTING LLC
Charrette Venture Group
ArchiCAD 4.55 - 25
Autodesk Certified Professional in Revit
macOS + Windows