Meaning of FaceShell IsVoid

Meaning of FaceShell IsVoid

Maxim-CADman77
Advisor Advisor
320 Views
2 Replies
Message 1 of 3

Meaning of FaceShell IsVoid

Maxim-CADman77
Advisor
Advisor

Sorry for nub question but
What does it mean when FaceShell "is a void"?
Any 3Dmodel samples when true and false?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Accepted solutions (1)
321 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor
Accepted solution

Hi @Maxim-CADman77.  I could be wrong, but I believe that is when you have a single solid body, which has an internal empty space within it.  In a case like that, I believe the body will have multiple FaceShells, and one of them will be void.

 

Edit:  I just attached a 2024 part with an internal iLogic rule as an example.  It contains a rectangular extruded solid, with a rectangular extruded cut that is entirely within the only solid body.  The rule gets that body, and loops through its FaceShells collection Logging the result of FaceShell.IsVoid to the iLogic Log window.  It returns 1 False and one True.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

Maxim-CADman77
Advisor
Advisor
For each oFS In ThisDoc.Document.ComponentDefinition.SurfaceBodies(1).FaceShells
	logger.info(oFS.IsVoid)
Next

...prints one True and one False on your sample

Please vote for Inventor-Idea Text Search within Option Names

0 Likes