SetDatabaseDefaults()
When creating new objects in .NET I would like to set the layer to an existing layer. But when using
Dim sol As Solid3d = New Solid3d()
sol.SetDatabaseDefaults()
an error "No database" occurs.
Is is not supported?
0
Comments
-
try passing an instance of your database in the argument, if you don't have an instance handy, you can use HostapplicationServices.WorkingDatabase
0 -
That works!
Thanks Daniel.
0
This discussion has been closed.