Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: Re: [V8i VB.NET] Point coordinates in non-active models

$
0
0

Hi Robert,

Maybe you miss this from the VBA Help-file:

TextElement.Origin is actually the User Origin value displayed in the Element Info dialog. TextElement does not provide a property that provides access to the value displayed as Origin. However, it is possible to get that value using a PropertyHandler:   Dim originValue As Point3d   Dim oPH As PropertyHandler   Set oPH = CreatePropertyHandler(eleText)   oPH.SelectByAccessString "Origin"   originValue = oPH.GetValueAsPoint3d   Debug.Print "Origin is " & originValue.X; ", " & originValue.Y & ", " & originValue.Z   oPH.SelectByAccessString "UserOrigin"   originValue = oPH.GetValueAsPoint3d   Debug.Print "UserOrigin is " & originValue.X; ", " & originValue.Y & ", " & originValue.Z

For me it is not insight why to use this property handler and I would like to know from Bentley why this is the case.


Viewing all articles
Browse latest Browse all 105279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>