PDA

View Full Version : How to create Annotation geo in Lisp


jkramer
11-28-2002, 06:21 AM
Hi,

If I want to add some geometry in Annotation, I need to specify the owner of that geometry, e.g. a View or a Sketch.

I have searched the Integration Kit docs for a way to specify the owner in Lisp, in order to draw some geo automatically in the View that I want, but I can't find a clue.

So, I want to use e.g. :

(am_geo_line_2pos :owner oownr (gpnt2d pntx pnty) (gpnt2d pnt2x pnt2y))

but I can't "fill in" the variable "oownr" now (what ":value-type" is it?????).

Any suggestions?
Thanks!
Regards,
Jaap Kramer

jkramer
11-28-2002, 10:22 PM
Hi,

Just read a post by John van Doorn, who mentioned the command
(oli::sd-online-reference)
Great feature, because it answered my question ;)
The answer was value-type :info
Sorry to have bothered you!
Regards,
Jaap Kramer

Michael Kahle
11-28-2002, 10:34 PM
For creating geometry it's the best, to set the owner before starting the command:

(sd-am-set-default-owner :geo :sketch owner)

Regards,
Michael