Using Extended Entity Data to determine the "original" Revit Category

Posted by Unknown Rabu, 15 Mei 2013 0 komentar
Jeremy shows how you can review a DWG file to determine if the source entities were Text or Labels in Revit.  This principle extends further, as he describes:

The differing TypedValue 11 is consistently -2000300 for a text and -2000280 for a label element.
What does this mean?
Well, is actually quite easy.
On seeing these large negative numbers in this specific range, an experienced Revit developer will quickly suspect built-in category or parameter enumeration values.
You can check what they actually represent in the Visual Studio debugger, by jumping to the definition of these enumerations and searching for the specific values.
Looking back at an ancient blog post on the DWG and DXF export Xdata specification confirms that these numbers do indeed represent the built-in category of the source element and thus can be used to distinguish the two.

via
The Building Coder: DWG Issues and Various Other Updates
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Using Extended Entity Data to determine the "original" Revit Category
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidtv7.blogspot.com/2013/05/using-extended-entity-data-to-determine.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android tv.