SketchUp / api-issue-tracker

Public issue tracker for the SketchUp and LayOut's APIs
https://developer.sketchup.com/
38 stars 10 forks source link

SUMaterialGetFilePath() & Sketchup::Material#path() #388

Open DanRathbun opened 4 years ago

DanRathbun commented 4 years ago

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 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.

DanRathbun commented 9 months ago

RELATED ISSUES: