Design line issue

Design line issue

josip_skopljak
Contributor Contributor
733 Views
7 Replies
Message 1 of 8

Design line issue

josip_skopljak
Contributor
Contributor
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
0 Likes
734 Views
7 Replies
Replies (7)
Message 2 of 8

ozc.duz
Observer
Observer

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

0 Likes
Message 3 of 8

ozc.duz
Observer
Observer

@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 

0 Likes
Message 4 of 8

craigjonnson
Collaborator
Collaborator

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. 

0 Likes
Message 5 of 8

josip_skopljak
Contributor
Contributor

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.

 

 

0 Likes
Message 6 of 8

craigjonnson
Collaborator
Collaborator

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.

0 Likes
Message 7 of 8

josip_skopljak
Contributor
Contributor

Will do, thank you Craig.

0 Likes
Message 8 of 8

dyoung
Advocate
Advocate

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/
0 Likes