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

Rewrite dwg #454

Open
amirj0914 opened this issue Sep 21, 2024 · 1 comment · May be fixed by #457
Open

Rewrite dwg #454

amirj0914 opened this issue Sep 21, 2024 · 1 comment · May be fixed by #457
Labels
feature New feature added

Comments

@amirj0914
Copy link

I'm curious to know if it's possible to edit an existing dwg.
for example I want to delete a layer by name of a dwg file or scale all objects in a dwg file.

@DomCR
Copy link
Owner

DomCR commented Sep 23, 2024

Hi @amirj0914,

There are some examples of how to use the library in here, examples.

If you want to delete a layer from a document you can use:

doc.Layers.Remove("layer_name");

Being doc a CadDocument.

Unfortunately there is no easy way to scale objects right now, so you will need to iterate throw all the entities and apply the new scale.

I'll open a branch and attach it to this issue to keep track.

@DomCR DomCR linked a pull request Sep 24, 2024 that will close this issue
3 tasks
@DomCR DomCR added the feature New feature added label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants