NewSpotCoordinate error: 'Error occurred when creating Spot Dimension!'

NewSpotCoordinate error: 'Error occurred when creating Spot Dimension!'

Anonymous
Not applicable
486 Views
2 Replies
Message 1 of 3

NewSpotCoordinate error: 'Error occurred when creating Spot Dimension!'

Anonymous
Not applicable
I want to use NewSpotCoordinate but error has occurred....:(
 
About code:
2.PNG
 
ERROR: 'Error occurred when creating Spot Dimension!'
 
Maybe the function's arguments are correctly entered.

1.PNG

I want to using NewSpotCoorinate Class....i'm waiting your reply...!

0 Likes
487 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Maybe you cannot create a spot elevation in a 3D view.

 

Maybe you must be in an elevation view, like in this example:

 

https://thebuildingcoder.typepad.com/blog/2010/01/spot-elevation-creation-on-top-of-beam.html

 

You should always test that what you are trying to do is possible at all in the user interface before trying to attack it programmatically.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 3

Anonymous
Not applicable

Thanks...your reply...!

 

I'm sorry but I'd like to ask about spot coordinate, not spot elevation.

 

Is spot coordinate also difficult to execute?

0 Likes