Hi All,
How to get attributes of a feature from open job and live job.
1. Launching the Map3D and Opening the Industry model project
2. Creating/Selecting the job and generating the graphics
3. Edit the data
4. Need to develope the custom code to show attribute of edited feature both job and live. How to get the data from live job?. I can get the attributes from job.
Regards,
Dayalan
Solved! Go to Solution.
Solved by drewbb. Go to Solution.
Hi:
The Industry Model API will support this.
Assuming the open job is current...
//Use the JobConflictFeature class to get the old feature Autodesk.Map.IM.Data.Jobs3.JobConflictFeature jobConflictFeature = JobConflict.CheckModifiedFeature(_job, _fid, _featureClass);
//Now you can retrieve the feature as it exists in the LIVE job Autodesk.Map.IM.Data.Feature oldFeature = jobConflictFeature.GetOldFeature();