Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Reading String Data (Group Codes 1000 and 1001) #406

Answered by haplokuon
dkadish asked this question in Q&A
Discussion options

You must be logged in to vote

What you are looking at is what is called Extended Data Information or XData for short. Make a search about "extended data" you will find other users asking similar questions, or just look at issue #331. You can also read what the Autodesk documentation says about "extended data".

Or something like since you already know that there is only one entry in the XDataRecords and it is an string:

entity.XData.TryGetValue("TimberData", out XData xData);
string sectionData = xData?.XDataRecord[0].Value as string;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by haplokuon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants