• [V8i VBA] ICustomHook_PreDeleteHook broke feature connectivity

    Hello all, simply i try to add delete restrictions for specific features this is my code: Public Function ICustomHook_PreDeleteHook(ByVal Context As String, _ oFeature As xft.IFeature, _ bCancel As Boolean, _ Message As String) As Long Debug…
  • Peer Types in Model Administrator

    Hello, all I have a question about the peer-type relationships in Bentley Utilities Designer. I know it is possible because I’ve seen it in the example electric data model but I have problems with setting a new relationship between two primary features…
  • It's possible to create my own VBA project and use CustemHooks

    Hello, I have two questions: 1. I try to create new VBA Project in BUD which use XfmStdUtilCustomization.ICustemHook just like x.p. XfmStdElecLib When edit Configuration file and change "CustomPlacementLib" property on one feature to notify my project…
  • Re: Expert Designer - VBA and networks

    In the mvba included with the core bentley utility suite (lke xfmStdElecLib), look for methods called GetConnectedFeatures and GetAttachedFeatures. Both should take an xfm.feature object as an input and return a collection that you can iterate…