.NET

Reply
Mentor
matus.brlit
Posts: 246
Registered: ‎03-11-2008
Message 1 of 5 (230 Views)
Accepted Solution

Storing data in ResultBuffer

230 Views, 4 Replies
03-28-2013 12:35 AM

When storing data in ResultBuffer, I found, that there are DxfCodes, that seem to have the same meaning.

 

DxfCode.ExtendedDataAsciiString Vs. DxfCode.Text

DxfCode.ExtendedDataInteger16 Vs. DxfCode.Int16

 

Can anyone clarify if there is any difference between them?

 

Thanks


matus.brlit wrote:

So in XData, I can use whichever I want, but elsewhere, I have to use DxfCode.Text and DxfCode.Int16 ? And where is that elsewhere? Because when storing data in XRecords, they are stored in the XRecortd's Data property, which is the same.

 

Maybe for communication with Lisp?


1. In XData you can not use DxfCode.Text and DxfCode.Int16 but can use DxfCode.ExtendedDataAsciiString and DxfCode.ExtendedDataInteger16


2. In XRecord you can use DxfCode.Text and DxfCode.Int16

Moderator
Alexander.Rivilis
Posts: 1,451
Registered: ‎04-09-2008
Message 2 of 5 (212 Views)

Re: Storing data in ResultBuffer

03-28-2013 02:27 AM in reply to: matus.brlit

matus.brlit wrote:

When storing data in ResultBuffer, I found, that there are DxfCodes, that seem to have the same meaning.

 

DxfCode.ExtendedDataAsciiString Vs. DxfCode.Text

DxfCode.ExtendedDataInteger16 Vs. DxfCode.Int16

 

Can anyone clarify if there is any difference between them?

 

Thanks


DxfCode.ExtendedDataXXXX can be used only as a part of extended data (http://through-the-interface.typepad.com/through_the_interface/2007/04/adding_xdata_to.html)

 


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Mentor
matus.brlit
Posts: 246
Registered: ‎03-11-2008
Message 3 of 5 (208 Views)

Re: Storing data in ResultBuffer

03-28-2013 02:45 AM in reply to: Alexander.Rivilis

So in XData, I can use whichever I want, but elsewhere, I have to use DxfCode.Text and DxfCode.Int16 ? And where is that elsewhere? Because when storing data in XRecords, they are stored in the XRecortd's Data property, which is the same.

 

Maybe for communication with Lisp?

Moderator
Alexander.Rivilis
Posts: 1,451
Registered: ‎04-09-2008
Message 4 of 5 (195 Views)

Re: Storing data in ResultBuffer

03-28-2013 03:40 AM in reply to: matus.brlit

matus.brlit wrote:

So in XData, I can use whichever I want, but elsewhere, I have to use DxfCode.Text and DxfCode.Int16 ? And where is that elsewhere? Because when storing data in XRecords, they are stored in the XRecortd's Data property, which is the same.

 

Maybe for communication with Lisp?


1. In XData you can not use DxfCode.Text and DxfCode.Int16 but can use DxfCode.ExtendedDataAsciiString and DxfCode.ExtendedDataInteger16


2. In XRecord you can use DxfCode.Text and DxfCode.Int16


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Mentor
matus.brlit
Posts: 246
Registered: ‎03-11-2008
Message 5 of 5 (187 Views)

Re: Storing data in ResultBuffer

03-28-2013 03:48 AM in reply to: Alexander.Rivilis

Thanks for clarification.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.