TAGGED: api, Moderator SpaceClaim, script
-
-
April 10, 2024 at 12:50 pm
Udeep Shah
SubscriberHello,
Currently, I am trying to use Selection in my code (API V17). I got an error saying I needed to add the reference SpaceClaim.Foundation.resources. After adding that to my references, I got the error code CS0234 (The type or name 'Foundation' does not exist in the namespace 'Spaceclaim'). Not sure what I am doing wrong here or if I am missing some files elsewhere.
-
April 11, 2024 at 7:17 am
Atharv Joshi
Forum ModeratorHi Udeep,Â
What's your exact goal with this script?ÂI will check and get back to you.ÂÂThanks and RegardsAtharvÂ
-
April 11, 2024 at 12:52 pm
Udeep Shah
SubscriberHello Atharv,
I am trying to generate mid surfaces for different solids using the scripting library, But I run into issues when trying to use the selection class.Â
-
April 12, 2024 at 5:57 pm
Udeep Shah
SubscriberHello Arthav,
Sorry I figure out my mistake, the file I was looking for SpaceClaim.Foundation was not available in my version SpaceClaim folder. I was able to rectify this by using the reference library for a higher version, that resolved my issue but does cause a bit of a mismatch between the version I am suppose to use and the version I am using (So far no runtime issues).Â
-
April 15, 2024 at 6:11 am
Atharv Joshi
Forum ModeratorHello Udeep, Thanks for the update.Â
-
- The topic ‘SpaceClaim API C# – Reference libiaries’ is closed to new replies.
-
2863
-
970
-
851
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.