In MicroStation v8, I had clip the shape feature using fence clip option and the clipped feature retains the user data linkage attribute value. The same thing I was tried in MicoStation CONNECT Edition but the user data linkage does not retained. If I need to change any configuration setting for MicoStation CONNECT Edition? Kindly suggest me.
Hi Priyanka,
Priyanka Ravi said:If I need to change any configuration setting for MicoStation CONNECT Edition?
is your issue programming question or user question? It's not clear whether you want to discuss:
Priyanka Ravi said:I had clip the shape feature
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
What is the "shape feature"? - this Is a Polygon feature (using Polygon tools Place Block Object).
It's not pure MicroStation object, so please explain it or provide exampledata - I have attached the screenshot for sample data.
Priyanka Ravi said:this Is a Polygon feature (using Polygon tools Place Block Object).
MicroStation does not use "feature" terminology, it's used typically by GIS applications (e.g. Bentley Map works with features), even more MicroStation does not know anything like "polygon". From your description it seems you mean "shape element".
Priyanka Ravi said:I have attached the screenshot for sample data.
Sorry, but an image is not example data, it's just the picture :-(
If you do not want to share any data, please at least describe your workflow in detail. Usually a short video is the best solution.
But at first, you have not answered important question: Whether your question is programming (you work with attribute linkages from your code) or user one.
With regards,
Jan
Whether your question is programming (you work with attribute linkages from your code) or user one.
I have add the attribute data to shape element using my vba code like below.
Public Function replaceAttribute(tmpEle As Element, attribIndex As Long, attrib As String) Dim dblk4 As DataBlock Dim copyEle As Element tmpEle.DeleteUserAttributeData attribIndex, 0 Set dblk4 = New DataBlock dblk4.CopyString attrib, True tmpEle.AddUserAttributeData attribIndex, dblk4 If attribIndex = 400 Then Set copyEle = ActiveModelReference.CopyElement(tmpEle) Set copyEle.Level = getLevel("update_Outline", True) copyEle.Rewrite End If tmpEle.Rewrite End Function
And I was manually clip that shape element using fence clip option in MicroStation v8 and also in MicroStation CE. In Microstation v8, after clipping the element retains the attribute value where as in CE, it does not retain. In this case, I want to retain the attribute value.
Priyanka Ravi said:And I was manually clip that shape element using fence clip option in MicroStation v8 and also in MicroStation CE.
In such case I think your should report this issue in MicroStation forum, because in fact, it's not programming problem.
I recommend to prepare simple data, maybe as 2 files:
It will make confirmation / duplication of your issue simple and quick.