Talk:Repository.BlockSim.UpdateRBDBlockData/Notes

Sends any changes made to a BlockSim block to the Synthesis repository. Returns a Boolean value; when true, indicates a successful save.

Syntax
.BlockSim.UpdateRBDBlockData(data)

Parameters
data
 * Required. The RBDBlockData object to be updated.

Example
VBA MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject (1) BlockData RBDBlockData BlockData = MyRepository.BlockSim.GetAllRBDBlocksData(21) BlockData(0).DisplayName = BlockData(0).URDID = 2 MyRepository.BlockSim.UpdateRBDBlockData(BlockData(0))

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject (1) BlockData RBDBlockData BlockData = MyRepository.BlockSim.GetAllRBDBlocksData(21) BlockData(0).DisplayName = BlockData(0).URDID = 2 MyRepository.BlockSim.UpdateRBDBlockData(BlockData(0))