josip_skopljak
613 Views, 7 Replies

Design line issue

I 'm trying to create a Fabrication API plugin using .NET
Even a suggestion on the direction to take might help me out a lot.
 
I have tried to create a design line through the API but without much success since it seems that the CadMep Fabrication API does not support any methods that would create/manipulate design line objects.
 
As an alternative way I tried to call the ADDDOBJ command which creates the design line along with some point coordinates using the editor.Command() method.

This works but there is the problem that the ADDDOBJ does not get called unless I press the "Create Design Line" button on the toolbar.

This is not something I can depend on since I don't want to rely on user interaction to have this working. Besides that I did not find any commands which would edit the nodes of a design line.
 
I 'm thanking you in advance for taking your time to read the e-mail.
 
Is there any direction I can take to get this working?
 
Kind regards
Tags (1)
ozc.duz
in reply to: josip_skopljak

@dyoung I believe Darren might have an advice/input on this ? He is an expert  

ozc.duz
in reply to: josip_skopljak

@ScottHendricks @gmurphy @andy.robins @Anonymous @FXVIPilot @wtucker0301 @Anonymous other experts are also tagged here. I am sure they will have an answer to this question 

What is the API intended for? If this is to produce a designline based on the itms laid out, there is a command REVDESIGN that does this. 

Hi Craig,

 

Thank you for your reply.

 

So basically I would like to create a design line based on some points and run the fill 3d command. There will also be need for editing nodes in order to get  the exact setup I want.

 

The problen with running commands with the editor.Command() method is that it does not recognize fabrication API commands until you press a button on the toolpallete.

 

 

Signup to www.xtracad.com and post in the Fabrication API section. There's a lot of good folk in there who will let you know if this can be done. All of the above names suggested to you are on that forum.

Will do, thank you Craig.

dyoung
in reply to: josip_skopljak

I see nothing in the API that would allow you to do this.

 

Depending how determined you are, you could likely have your app automate the UI yourself with a tools like AutoHotKey or even an RPA tool. Given the fickle nature of Fabrication...I don't personally think the Juice would be worth the Squeeze. 

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