Skip to content
Discussion options

You must be logged in to vote
  1. you can change layer visibility with RenderContext.set_layers_state(layers, state). Here 'state' means 'visible'
    1a. you can use Frontend.draw_entities if you want to draw a collection of entities such as the result of a query. Look at the source code for draw_layout to see what other things you might want to set if you use draw_entities
  2. you mean filter out entities in the bottom half? and do you mean outputting that half as an image or as another dxf file? If you just want a viewport onto the top half there is this question but if you want to actually filter the entities then you will have to loop over them and remove them
  3. again, I'm not exactly sure what you want, but you could use the…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ikaryss
Comment options

@mozman
Comment options

Answer selected by ikaryss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants