SpaceClaim Scripting with Facets

NickFL
NickFL Member Posts: 5
Name Dropper First Comment
**

Hello everyone,

Background: I am working in SpaceClaim using API V23. I am staying on this version for now until I get the final report for my project finished before moving on to Discovery and R25 sometime in March/April.

I am trying to fill some small holes in my faceted body that were created when I cut it with a plane in my script. I can record the operation and it is executed correctly. If I simply excute this recorded code:

# Facettierte Körperöffnungen füllen
options = FacetFixHolesOptions()
options.FillType = FillType.Cap
options.FillRelationship = FillRelationship.Separately
result = FacetFixHoles.FindAndFix(options)
# EndBlock

The output (error) is given as:
Der Wert darf nicht NULL sein. Parametername: source

Sorry it is in German, but basically means the value may not be zero. Does anyone have an ideas?

Tagged: