Search found 6 matches

by saibou
Thu Feb 22, 2018 7:34 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Extending class RLineEntity
Replies: 6
Views: 9183

Re: Extending class RLineEntity

Thanks for your response, I saw your plugin example. https://github.com/qcad/qcad/blob/master/support/examples/exampleplugin/RExamplePlugin.cpp#L58 And what I want o achieve to change "MyClass" to extend from RLineEntity as : class MyClass : public RLineEntity { public: MyClass(RDocument* document, ...
by saibou
Mon Feb 19, 2018 1:18 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Extending class RLineEntity
Replies: 6
Views: 9183

Re: Extending class RLineEntity

Yes string properties not sufficient for me.
So with your response to add new properties to RObject or REntity, I comeback to my question, have I to purchase C++ licence for doing that ?
by saibou
Mon Feb 19, 2018 12:07 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Extending class RLineEntity
Replies: 6
Views: 9183

Re: Extending class RLineEntity

Hi, I don't think custom properties feat my neads for these reasons : -On base, my new properties will be added by applicaion not by user (some of will be presented in property editor and others no). -New properties with boolean type, list of values, handle value for refercing onther object... -Can ...
by saibou
Tue Jan 30, 2018 12:26 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Extending class RLineEntity
Replies: 6
Views: 9183

Extending class RLineEntity

Hi,

I recently purchased qcad pro licence , and now I want to extend RLineEntity class with new properties, my question have I to purchase C++ licence for doing this, and could you give me an example for doing that ?

Thanks for your orientation.
by saibou
Thu Dec 21, 2017 11:12 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Entity Id change after save
Replies: 3
Views: 5464

Re: Entity Id change after save

Thanks for responding, but still I have the same issue using handles :
Before I save the document my object handle is 47.
And after I save the document and I reopen it, handle of object changed to 89.
I need to have something persistent after save and reopening.

Thanks again !
by saibou
Wed Dec 20, 2017 12:31 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Entity Id change after save
Replies: 3
Views: 5464

Entity Id change after save

Hello, My question is about persistence of Entity Id : I have a Transaction listener that is installed at qcad start-up, for showing entity line Id when it's affected. And I do this scenario : I draw a Line base on tool Line2P, and I see through the listener, that the line entity have 47 as Id (scre...

Go to advanced search