Control item text via Fabrication API?

samernajjar
Contributor

Control item text via Fabrication API?

samernajjar
Contributor
Contributor

Hello everyone,

Does anyone know if it's possible to control item's texts and leaders from within the api?
If not... is there a way in lisp to control the leaders or at least select the sub-entities of an item (text, leaders...) from within a lisp procedure?

Thanks,
Sam


0 Likes
Reply
318 Views
3 Replies
Replies (3)

moogalm
Autodesk Support
Autodesk Support

Hi,

 

I have contacted the Fabrication API development team. I will update this post.

0 Likes

moogalm
Autodesk Support
Autodesk Support

Hi,

 

 

Do you have any example to explain this better. 

0 Likes

dyoung
Advocate
Advocate

There are some Lisp functions that allow you to control the annotation text of CADmep objects however controlling the leader is not one of them. Yuo can get a full list of the LISP commands at either of these links...

 

http://www.xtracad.com/forum/index.php/page,History.html

http://www.darrenjyoung.com/resources/autodesk-fabrication/cadmep-autolisp-function-history/

 

Autodesk's policy is that their API's allow you to do everything that can be done from the UI. That being said, the API's always lag behind in the abilities of the software. I don't see any API's related to annotation and/or leaders for Fabrication objects in the SDK. You can browse the documentation to see what's there by looking for the help file on your system typically located here...

 

C:\Program Files\Autodesk\Fabrication 2018\SDK

 

Darren J. Young
http://www.darrenjyoung.com/
https://www.linkedin.com/in/darrenjyoung/
0 Likes