SOFiSTiK Forum
http://www.sofistik.com/forum/

shape image error
http://www.sofistik.com/forum/viewtopic.php?f=65&t=7328
Page 1 of 1

Author:  cristi [ Wed Jun 20, 2018 7:20 am ]
Post subject:  shape image error

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...)

Author:  bteutriene [ Wed Jun 20, 2018 1:21 pm ]
Post subject:  Re: shape image error

Hey cristi,
It's true, we use the instance parameter "Image" for rebar shape images. Did you already try to use the command twice? If it doesn't work please contact our support@sofistik.com and send them your project for further investigations.

Author:  cristi [ Thu Jun 21, 2018 7:50 am ]
Post subject:  Re: shape image error

Tried again and now I got a new error of which I cannot dispose of. No matter how many times I hit that button it just doesn't close. and I do have access and permissions to that folder, I created that folder! Finally I had to ctrlaltdelete the Revit (and lose all 3 thousand hours of unsaved work) to get rid of it...

Attachments:
Capture5.JPG
Capture5.JPG [ 20.86 KiB | Viewed 6295 times ]

Author:  bteutriene [ Wed Jun 27, 2018 8:15 am ]
Post subject:  Re: shape image error

Hello christi,
Please check your write permission to the directory of the shape images and rebar schedule. Close all images of the rebar shape. If it doesn't work please contact our support@sofistik.com and send them your project for further investigations.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/