[MS Connect U15 C#] Strange behaviour of item types on references

Hello,

There is a straightforward way to manually attach item types to references as described here: 

How to attach Item Type to a Reference file - MicroStation Wiki - MicroStation - Bentley Communities

I attach these item types via the api but that is (probably) not relevant.

When I assign new values to the items (manually or via api) and then move and/or rotate the refrences the values of the items are strangely reset to the initial values (not neccessarily the default values). At other times (and I am not able to reproduce this) the values remain unaltered (as they should).

In other words: Most of the time I move a reference changes to the values are lost and sometimes not. On the surface this behaviour seems to be completley random.

Do you have any idea what is going on? 

Parents
  • I attach these item types via the api but that is (probably) not relevant

    Asumptions are bad, especially for programmers!

    • Does the problem you describe occur when you attach an Item to a reference manually and subsequently modify the reference attachment manually?  By manually, I mean using MicroStation tools as described in the Wiki article, and not using your code.  If so, move your post to the MicroStation Forum and/or file a Service Request with Bentley Systems.
    • If the problem doesn't occur when you perform the above manually, then you should tell us more about your code on this Forum.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • I attach these item types via the api but that is (probably) not relevant

    Asumptions are bad, especially for programmers!

    • Does the problem you describe occur when you attach an Item to a reference manually and subsequently modify the reference attachment manually?  By manually, I mean using MicroStation tools as described in the Wiki article, and not using your code.  If so, move your post to the MicroStation Forum and/or file a Service Request with Bentley Systems.
    • If the problem doesn't occur when you perform the above manually, then you should tell us more about your code on this Forum.

     
    Regards, Jon Summers
    LA Solutions

Children
No Data