AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get feature attributes from Open job and Live job(state)

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
473 Views, 1 Reply

How to get feature attributes from Open job and Live job(state)

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

1 REPLY 1
Message 2 of 2
drewbb
in reply to: Anonymous

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();

 

Sincerely,
Drew Burgasser, P.E.
CAD Masters, Inc.
www.cadmasters.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost