SketchEditScope fails to start

SketchEditScope fails to start

tommy.stromhaug
Contributor Contributor
278 Views
2 Replies
Message 1 of 3

SketchEditScope fails to start

tommy.stromhaug
Contributor
Contributor

Hi,

 

if (sketchEditScope.IsPermitted)
{
sketchEditScope.Start(f.SketchId);
}

This code did work previously. There is no transactions going on.

The error message is very hard to really understand.

 

tommystromhaug_0-1652350868443.png

 

Does anyone have any suggestions?

0 Likes
Accepted solutions (1)
279 Views
2 Replies
Replies (2)
Message 2 of 3

tommy.stromhaug
Contributor
Contributor
Accepted solution

The solution was to move the floor and then back 🙂

0 Likes
Message 3 of 3

RPTHOMAS108
Mentor
Mentor

You should probably create a minimum reproducible case for that since that exception isn't listed in RevitAPI.chm for the API call you are making. So to me it is either something they haven't explained or something they haven't anticipated you ending up handling. 

0 Likes