Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IvSketchedSymbol - LeaderPoints (exception: Point where a List was expected)

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
graciaj
532 Views, 2 Replies

IvSketchedSymbol - LeaderPoints (exception: Point where a List was expected)

Hello,

 

I'm migrating my code from Intent 2012 to 2013 and having problems with the :IVSketchedSymbol" design.

 

For some reason it is throwing an exception when providing leaderPoints values.

 

Does anyone has an example on the syntax for this parameter?

 

This is the code that used to work on 2012 and previous but not on 2013 ETO.

 

{TopView.origin + Vector(ScaledModelLength * .65, ScaledModelWidth * .6, 0),

TopView.origin +

Vector((LocalX(DPlateDrain_GrHole_Point)*DrawingScale) , (LocalY(DPlateDrain_GrHole_Point)*DrawingScale), 0)}

 

Any help is appreciated.

 

2 REPLIES 2
Message 2 of 3
graciaj
in reply to: graciaj

Sorry,

 

this is the parameter:

 

leaderPoints = {TopView.origin +

Vector(ScaledModelLength * .65, ScaledModelWidth * .6, 0), _

TopView.origin +

Vector((LocalX(DPlateDrain_GrHole_Point)*DrawingScale) , (LocalY(DPlateDrain_GrHole_Point)*DrawingScale), 0)}

Message 3 of 3
wayne.brill
in reply to: graciaj

Hi,

 

I am able to recreate this behavior and have logged an issue with ETO engineering. Here is a work around to consider.

 

Use an IvLeaderNote with an empty string for the text to create the leader. (leaderPoints for this design does not have the error). Here is what I used to test. The IvSketchSymbol and IvLeaderNote are in the same design. ( IvDrawingSheet)

 

Child loadSymbol2 As :IvSketchedSymbol
  definition = "Load"
  symbolOrigin = Point(350,250,0)
  promptStrings = {{"user_load", loadStr}}
 End Child
 
 Child leaderNote_WB As :IvLeaderNote
    formattedText = ""
    leaderPoints = {Point(350,250,0),Point(250,50,0)}
End Child

 

Thanks,

Wayne



Wayne Brill
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report