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

How to know which layer to show ? #2

Open
arochedy opened this issue May 25, 2016 · 6 comments
Open

How to know which layer to show ? #2

arochedy opened this issue May 25, 2016 · 6 comments
Assignees

Comments

@arochedy
Copy link

Hi,

I use your (awesome) library to transform a dxf file to an image in a wpf software.

I have a problem with layers : I didn't find how to know which layers to show or not.

When i use some dxf viewer it only show me some layers but not all.

Do you know how to do this ? (or if it's missing in your library ? )

Thank you

@mkernel
Copy link
Owner

mkernel commented May 27, 2016

Hi @arochedy,

can you provide me with a sample DXF file? I'll have a look then.

@mkernel mkernel self-assigned this May 27, 2016
@arochedy
Copy link
Author

this is it. Thank you for you're time. I'll tell you if i fix it ;)

DIAMOND-R.zip

@arochedy
Copy link
Author

arochedy commented Jun 6, 2016

Finally I found a solution !

My problem was not to show/hide a layer but how to detect and hide unrelevant objects.

I use DrawingExtendsLowerRight and DrawingExtendsUpperRight properties in header section to know the limits of my drawing. I only keep elements that are in the limits.

So this is not an issue of your library ;) (sorry to disturb you) (I'll look how to delete this issue)

@arochedy arochedy closed this as completed Jun 6, 2016
@mkernel
Copy link
Owner

mkernel commented Jun 6, 2016

That's good to hear :) - anyway i'm interested in the details and have a look anyway.

@mkernel mkernel reopened this Jun 6, 2016
@arochedy
Copy link
Author

arochedy commented Jun 8, 2016

I got an another problem ! the libray doesn't find ellipse !

I found ellipse in dxf but the libray doesn't read them, it "jump" to the next entites.

API MONOGRAM ONLY.zip

@arochedy
Copy link
Author

arochedy commented Jun 8, 2016

I fix it by adding [Entity("LINE")] on DxfEllipse Class

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