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

ModelViews issue #118

Open
Brent-bai opened this issue Dec 1, 2023 · 2 comments
Open

ModelViews issue #118

Brent-bai opened this issue Dec 1, 2023 · 2 comments
Assignees

Comments

@Brent-bai
Copy link

var view =part.ModelViews.Filter<ISwNamedView>().DefaultIfEmpty(null);
Code above throw a System.NotImplementedException:“The method or operation is not implemented.”
'part' is a part component in a assembly.
as below:
views_error

The variable ModelViews also does not show any results, as below:
modelview_error

xcad.net version: lasted 0.8.0 beta.4.9.0.1

@artem1t artem1t self-assigned this Dec 1, 2023
@artem1t
Copy link
Contributor

artem1t commented Dec 1, 2023

Fixed in 0.8.0-beta.4913

@Brent-bai
Copy link
Author

Brent-bai commented Dec 4, 2023

Other Problems happened:

  1. var views =part.ModelViews.Filter<ISwNamedView>().DefaultIfEmpty(null); Filter not worked, the collection contains all the modelviews
  2. Property ISwNamedView.Transform throw a System.NullReferenceException:“Object reference not set to an instance of an object.”
    views
    @artem1t

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