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

Unable to see blocks in a second paperspace #73

Open
MrRobotMan opened this issue Aug 22, 2024 · 0 comments
Open

Unable to see blocks in a second paperspace #73

MrRobotMan opened this issue Aug 22, 2024 · 0 comments

Comments

@MrRobotMan
Copy link
Contributor

I am trying to modify a block that appears on two different paperspace layouts. For each one I need to change an attribute to be the current year. When testing if I run the following code I will only see 2 of the blocks print instead of 3 that I expect (1 model space and 2 paper space).

for ent in drawing.entities() {
        // Only finds blocks in modelspace and the last saved paperspace
        if let EntityType::Insert(i) = &ent.specific {
            println!("{} paper:{}", i.name, ent.common.is_in_paper_space);
        }
    }
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

1 participant