I am trying to merge multiple models and for that I learnt the best way is by renumbering each model to a different series. I wish to write a vba code for it, but I couldn't find a renumber function for openstaad. the thread attached in the following link, says that the team is working on adding the function. the thread is 3 years old. I could not find a function for the renumbering. it would be great if some one could help me on that.
Regards,
Harshal
VARIANT OSGeometryUI::RenumberBeam (const VARIANT FAR & varBeamNoOld, const VARIANT FAR & varBeamNoNew )
Returns no of beams connected at a specified node.
ParametersvarBeamNoOld Old beam number ID. varBeamNoNew New beam number ID.
Return values1 True; 0 False;
VBA Syntax ' Renumber old beam ID from #5 to a new beam ID #3. Dim RetVal As VARIANT = OSGeometryUI.RenumberBeam(5, 3)
Thanks but this did not work for me as the loading on the members was deleted. I need to retain all the attributes of members and nodes while updating the numbers