DefaultMedium
A non-physical medium that can be applied to a face or region. It allows the properties to be inferred from the surrounding face or region settings.
Example
app = cf.GetApplication() project = app:NewProject() -- Create a cuboid cube1 = project.Geometry:AddCuboid(cf.Cuboid.GetDefaultProperties()) -- Set the face media to default cube1.Faces[1].Medium = project.Media:GetDefault()
Inheritance
The DefaultMedium object is derived from the Medium object.
Property List
Method List
- AddToLibrary ()
- Add the medium to the media library.
- Delete ()
- Delete the medium.
- SetNotSuspect ()
- Reset the suspect setting on the medium.
Property Details
Method Details
- AddToLibrary ()
- Add the medium to the media library.
- Delete ()
- Delete the medium.
- SetNotSuspect ()
- Reset the suspect setting on the medium.