Retrieves the full file path to the SKM file used to load a material into a model's materials collection.
Would be nil or null if internally created (manually or via plugin code, and returns an appropriate error code for the C API.)
C API: SUMaterialGetFilePath()
Ruby API: Sketchup::Material#path()
(Parity with all other SketchUp resource file types.)
Note: Materials don't have a internal? boolean query method and likely should have.
Ruby and C API Feature Request
Retrieves the full file path to the SKM file used to load a material into a model's materials collection. Would be
nil
ornull
if internally created (manually or via plugin code, and returns an appropriate error code for the C API.)C API:
SUMaterialGetFilePath()
Ruby API:Sketchup::Material#path()
(Parity with all other SketchUp resource file types.)
Note: Materials don't have a
internal?
boolean query method and likely should have.