Whats the goal?
Would using AssetManager eventually be an alternative ? It has a pretty complete maxscript interface AFAIK
Interface: AssetManager
Properties:
Methods:
<string>GetAssetId <filename>fileName <enum>assetType
assetType enums: {#Other|#Bitmap|#XRef|#Photometric|#Animation|#VideoPost|#BatchRender|#ExternalLink|#RenderOutput|#PreRenderScript|#PostRenderScript|#Sound|#Container|#MaxCreationGraph|#Script}
<IObject>GetAsset <filename>fileName <enum>assetType autoAcquire:<boolean>
assetType enums: {#Other|#Bitmap|#XRef|#Photometric|#Animation|#VideoPost|#BatchRender|#ExternalLink|#RenderOutput|#PreRenderScript|#PostRenderScript|#Sound|#Container|#MaxCreationGraph|#Script}
autoAcquire default value: true
<IObject>GetAssetByIndex <index>index
<IObject>GetAssetById <string>assetid
<string>GetFileName <string>assetid
<boolean>AddReference <string>assetid
<boolean>ReleaseReference <string>assetid
<integer>GetNumReference <string>assetid
<integer64>GetNumAssetUsersCreated()
<integer64>GetNumAssetUsers()
<integer64>GetNumAssetsCreated()
<integer64>GetNumAssets()
<boolean>RemoveMissingAssets()
Actions:
Josef WienerroitherSoftware Developer & 3d Artist Hybrid