Hi again,
I get a big ugly error when I try to create shape image from schedule command.
The error looks like this:
System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at SOFiSTiK.Revit.Reinforcement.SofReinforcementCache.getImagesLocation(Document document, String selectorGuid, String& pathName) at SOFiSTiK.Revit.Reinforcement.SofReinforcementCache.CreateImages(Document doc, String selectorGuid, Boolean bDeleteImages) at SOFiSTiK.Revit.Reinforcement.CreateImages.subExecute_RCD(ExternalCommandData cmdData, String& message, ElementSet elements)A transaction or sub-transaction was opened but not closed. All changes to the active document made by External Command will be discarded.
What did I do wrong??
And another thing: shouldn't this command, Schedule/Shape image, create and load a sketch in "image" parameter? It creates the images, but I have to load them manually one by one (if I can even identify them). I think it was working before, so maybe it is also related to the error above? (probably this is what the error means...)
|