02-10-2020
10:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-10-2020
10:08 AM
That's a step in the right direction for me (I think). An error is no longer thrown,
but the parameter value doesn't show up in the model. The 3DA leader text is blank.
There is a parameter tag in the leader's text editor, but the name of the parameter is displayed;
not the underlying value (e.g. <GasketFaceHt> instead of 6.550). The interesting bit is that
the correct parameter is in the recently used list of the editor as if the manual process had been
used to insert it.
Dim sIPropertySet As String = "{D5CDD505-2E9C-101B-9397-08002B2CF9AE}"
Dim sIPropertySetName As String = "User Defined PropDerties"
Dim sParameterName As String = "GasketFaceHt"
Dim annText As String = "<Property Document='model' PropertySet='" & sIPropertySetName & "' Property='" & sParameterName & "' FormatID='" & sIPropertySet & "'></Property>"