How to Check Feature Lock Information.

Anonymous
Anonymous

Hi All,

I need to check wheather any user locked particular feature if yes then i need to display particular user name who locked that feature.

Environment:

Language : C#.NET.

Thanks in Advance,

Veeresh 

 

Parents
  • Veeresh:

    I need to check whether any user locked particular feature if yes then I need to display particular user name who locked that feature.

    Please explain what you mean by 'any user locked particular feature'. Are you using MicroStation or some add-on application, such as Bentley Map?

    In general, MicroStation does not record which user made a particular change to an individual object in a DGN file. It knows the last user to make a change to a given file, but no more detail than that.

    On a related note, have you examined DGN File History and what that can provide for history audit?

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

  • Thanks for your response.

    Yes, we are using Bentley Map with Oracle as Spatial DataBase.

    Regards,

    Veeresh.

Reply Children
  • Veeresh,

    The user name of the user that has locked a feature is not available through the Map API.  But, you can determine if a feature is locked with:

    IECLockInfo* GetObjectLockInfo (IECInstanceReference* instanceRef) from Bentley.EngineeringContent.Storage.Xfm.dll

    or

    XFM C-API functions: xfmFeature_isEditBlocked, xfmFeature_isEditBlockedForChangeOperationType

    Regards,

    Chris
     


    This is a test

  • Thanks Chris.

    I am having idea about this function to check whether feature is locked or not, But my requirement is to know "which user locked the feature".

    Thanks for Clarification.

    let me know if any other alternatives for finding the locked user.

    Regards,

    Veeresh.