inventor api creating appearances "Wood" type does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I am creating libraries and appearances programmatically through the api. My problem is that when trying to create new "appearances" to populate the library I have created I run into an issue with the "Wood" type. All other appearance types seems to work fine and create a new appearance when using the function for creating new appearances:
asLibAp = docAssets.Add(AssetTypeEnum.kAssetTypeAppearance, "Plastic", assetName, assetName & "1") - works fine creates appearance
asLibAp = docAssets.Add(AssetTypeEnum.kAssetTypeAppearance, "Generic", assetName, assetName & "1")- works fine creates appearance
asLibAp = docAssets.Add(AssetTypeEnum.kAssetTypeAppearance, "Masonry", assetName, assetName & "1")- works fine creates appearance
asLibAp = docAssets.Add(AssetTypeEnum.kAssetTypeAppearance, "Generic", assetName, assetName & "1")- works fine creates appearance
etc.. all work, but the "Wood" type
asLibAp = docAssets.Add(AssetTypeEnum.kAssetTypeAppearance, "Wood", assetName, assetName & "1")- throws an error every single time and will
not create an appearance. Is the api type(input for this wrong? Does the wood type need to be called something else. Was it misspelled in the type library or enumerations or what the function is looking for as one of the keywords and so "Wood" is not recognized?
Will this be fixed (patched) for Inventor 2016 api?