Bill wrote:
Attached is a zip file …..
What you have done can be fixed, but it is probably easier to create a new object.
Simply adding FRAGMENT2 1,0 to the 2D script will stop the scaling of the 2D symbol.
However another problem will arise.
The 2D symbol will not be at the center of the object when you do stretch it.
The 3D will stretch and the 2D will stay where it is - I assume you don't really want this.
The object was created by saving a 3D model as an object.
When it was saved the 3D model was not centered about the project origin - so transformations are automatically added to compensate for this.
So if you want to re-create it, move the model to the project origin in plan and place it centrally on that origin.
Because it is a light that fixes to the wall, move it so the back plate is level with the origin.
Also adjust the height of the model so the point you want to reference the height above floor to is set at the 3D project origin.
Basically, you want your model to be positioned at the project origin so the point you want to position it by when placing the object is at the origin.
Now save the object and open the scripts.
Place the 2D symbol that you want in the 2D symbol window.
Make sure you place it at the origin in the same position that you placed the 3D model.
Now a little clean up.
Because this is generated from automatic scripts, you will need to delete or comment out the ADD command at the beginning of the 3D script - so the model is at the origin as you originally positioned it when saving.
Delete the script in the 2D script window (it is not needed) and add .... FRAGMENT2 1, 0
Save the object.
Now when you place it you have a hotspot at the base point at the back of the wall plate (fixing position).
The 2D symbol will not stretch if you need to make the 3D bigger or smaller.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11