Is it posssiple change steel beam's geometry properties(rotation x,y,z) using VBA?
it doesnt matter befor or after placing element
Thank you for asking the question. As it is very complicated workflow, so it wont be possible in VBA.
and what about family?
i want to put element of family with definite angles.
How to write code?
' it is command CadInputQueue.SendCommand "TFPLACE COMPOUND CELL"
'right here must be value of angles
' Coordinates are in master units startPoint.X = 12961.2086100945 startPoint.Y = -3218.1620184442 startPoint.Z = 0#
Unless somewhere here has the required VBA programming expertise, you may have better luck posting the question on the MicroStation Programming forum: https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum#pifragment-25847=1
That said, it's not clear what you mean by "family" in this context - Family + Part settings are essentially data attached to an element, mainly for symbology purposes, so I'm not sure how angles fits into the picture?
Actually, complicated, yes! possible? Yes. The supplied Structural Spreadsheet in ABD is able to read and write geometry data of structural members. And as far as I'm aware, that spreadsheet is mostly vba based. So a VBA approach to modify structural members is possible.
The MVBA STFAlongCenterlines (should be in Dataset_xx\vba) gives a good example to start with.