Skip to content

fix: add AEC_MODI and AEC_SYMB_SECTION as ProxyEntity in readUnlisted… - #1148

Open
WallanceLee wants to merge 1 commit into
DomCR:masterfrom
WallanceLee:fix/aec-proxy-entity-support
Open

fix: add AEC_MODI and AEC_SYMB_SECTION as ProxyEntity in readUnlisted…#1148
WallanceLee wants to merge 1 commit into
DomCR:masterfrom
WallanceLee:fix/aec-proxy-entity-support

Conversation

@WallanceLee

@WallanceLee WallanceLee commented Jul 10, 2026

Copy link
Copy Markdown

AEC custom objects (TDbSymbModi, TDbSymbSection) from BIM applications like Revit/Tianzheng are stored in DWG with proxy graphics for fallback display in AutoCAD. ACadSharp previously read these as UnknownEntity, causing their proxy graphics to be lost. Route them through readProxyEntity() so the proxy geometry data is preserved in ProxyGeometries for downstream exporters.

Description

I don't have a further knownledge about the case branches, and following is from my test data and notification handler.

Tasks done in this PR

  • Something awesome.
  • An evil bug have been defeated.
  • Code cleanup and maintenance has been done.

Related Issues / Pull Requests

  • Add the links of issues or PR related to this one.

Notes for reviewer

  • Things to consider during the review of this PR.

…Type

AEC custom objects (TDbSymbModi, TDbSymbSection) from BIM applications
like Revit/Tianzheng are stored in DWG with proxy graphics for fallback
display in AutoCAD. ACadSharp previously read these as UnknownEntity,
causing their proxy graphics to be lost. Route them through
readProxyEntity() so the proxy geometry data is preserved in
ProxyGeometries for downstream exporters.
@WallanceLee

Copy link
Copy Markdown
Author

@DomCR Could you review this PR and let me know if you need some modification?

@DomCR

DomCR commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Hi @WallanceLee,

Could you provide a file that contains those entities?

Your solution may work for these entities but given that they are part of AEC, maybe there is a more generic and better solution to include the different objects that haven't been implemented like the Wall.

Thanks!

@WallanceLee

Copy link
Copy Markdown
Author

test.dwg.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants