Inset a rectangular block with rotation

will Dynamo be able to insert a block to a rotation of a second point, when inporting survey data either through fbk, csv, or lmx and I have an inspection chamber lid, I have the 1st point as the insertion point, which would be say botom left hand corner the lid, and the second point top left hand corner of the lid.
Normaly i would string those points together with a line number, then manually insert the required block and rotate, could Dynamo automate this

I believe it’s possible. You can use the 1st point as insertion for the block you can then use abstract geometry (coordinate system, planes and vectors) to intersect the second point and use this for the rotation

2 Likes

Definitely possible. Look in the BlockReference section of your library for a create method associated tk ‘CoordinateSystem’