Hi,
Situation : With ProjectWise, when i Post my file to Oracle with the connector and when i have constraint/trigger error. Some new informations/elements was added to my DGN. When i select the element in error with the "Information tool", i have a new PropertyHandler call "ExceptionText". I copy/past informations into regular editor to see all that text.
I use that function to obtain programmatically the PropertyHandler ExceptionText. But just the first 3008 caracters was obtain with function GetDisplayString and 1501 caracters with function GetValue. How to get the full PropertyHandler "ExceptionText"?
Do you have examples ? (In MVBA, By KeyIn, In C++, In MDL, ...)
Thanks
Cordially Mario
Public Sub testExceptionText() Dim oEnum As ElementEnumerator Dim oProp As PropertyHandler
Set oEnum = ActiveModelReference.GetSelectedElements Do While oEnum.MoveNext Set oProp = CreatePropertyHandler(oEnum.Current) On Error Resume Next oProp.SelectByAccessString ("ExceptionText") Debug.Print oProp.GetDisplayString On Error GoTo 0 LoopEnd Sub
Hi Mario,
Could you possibly zip a very small design file having one element having a ExceptionText property so we can view this behavior first hand?
Also, if possible can you provide me a little detail about how the ExceptionText property value is used in some type of workflow?
Thank you,Bob
https://cimao365-my.sharepoint.com/:u:/g/personal/mario_aylwin_cima_ca/Ee9JDJ_JY_9AocTqlH0GCzABNdDI9lNFsX0ZPzSSGxGc6g?e=NbuEBa
New link for the example.
Thank for nice solution sir.