Not unless the object has a parameter that shows the true mitred length of the beam, then you could schedule that parameter rather than the length.
The problem is the mitre simply cuts a bit off or adds a bit on (depending on the angle) and does not actually alter the length of the beam (object).
The only way you could get an accurate beam length with this is to make sure you stretch the beam to the desired length and cut off the bit you don't want with a mitre rather than adding it on.
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