Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identifying block/entity properties. #138

Open
AshRam98 opened this issue Aug 22, 2024 · 1 comment
Open

Identifying block/entity properties. #138

AshRam98 opened this issue Aug 22, 2024 · 1 comment

Comments

@AshRam98
Copy link

AshRam98 commented Aug 22, 2024

Hi @yanzexuan1,

First of all, really great work, I have a question on accessing the information of entities/blocks. Each block or entity has some properties that is usually displayed in AutoCAD. Is there a way to click on block elements and access these properties in your tool? I have attached an example image below.
gitlab

@yanzexuan1
Copy link
Collaborator

Firstly, when load an dxf, set "merge" to false, otherwise, entities will be merged.

const modelCfg: ModelConfig = {
    modelId: "id_0",
    name: "sample",
    src: "http://www.abc.com/sample.dxf",
    merge: false,
}

It is not hard to get xData of entity, but in this project we din't explicitly support it.

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

No branches or pull requests

2 participants