Referencing AcSmComponents.dll error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I am building a .NET solution for AutoCAD in C#.
I want to access the Sheet Set Manager through the API, however I am unable to reference the AcSMComponents.dll file to begin creating a SheetSet object.
I am using AutoCAD 2019.
I am writing my code in Visual Studio.
When I go to the Solution Explorer, and I use the reference manager to add the AcSMComponents.dll file, it gives me an error message: A reference to 'C:\Program Files\Autodesk\AutoCAD2019\AcSmComponents.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
How can I go about adding this reference.
My ultimate goal would be to access the sheets within the SheetSetManager from a document and access the data from those sheets. Data such as the Number, File Name, and LayoutName would ultimately be exported to a database. I would also like to access blocks within the sheets to modify certain aspect of them.
However, none of this can be started without the reference working correctly.
Any advice would be appreciated.