Search found 6 matches

by trojanrob
Thu May 16, 2013 1:23 pm
Forum: Developers
Topic: It is possible modify export to SVG format ?
Replies: 4
Views: 7652

Re: It is possible modify export to SVG format ?

Problem solved. [:)]

Added "freehep-graphicsio-svg-2.2.1-sources" to SH3D source and modifiy class "SVGGraphics2D"

Thanks for the tip.
Robert
by trojanrob
Wed May 15, 2013 8:41 pm
Forum: Developers
Topic: It is possible modify export to SVG format ?
Replies: 4
Views: 7652

Re: It is possible modify export to SVG format ?

I think I described it wrong. [:(]

See my example
(transparent rectangle added manually) When click on image appears message box

<svg
...
...
>
...
<g ... >
<g ... >
<g ... >
<image x="0" y="0" width="256" height="256"... />
<rect class="btn" x="0" y="0" width="256" height="256" stroke="#fff ...
by trojanrob
Wed May 15, 2013 10:20 am
Forum: Developers
Topic: It is possible modify export to SVG format ?
Replies: 4
Views: 7652

It is possible modify export to SVG format ?

Hello,

I want to add <rect class="btn" ... /> in SVG file after each <image ... />

This change is needed to image was clickable.

Any solutions , please.

Robert
by trojanrob
Fri May 10, 2013 2:54 pm
Forum: Developers
Topic: How to get unique index furniture that is displayed in the panel ?
Replies: 3
Views: 5599

Re: How to get unique index furniture that is displayed in the panel ?

Problem solved.

Code: Select all

this.home.getFurniture().indexOf(leadSelectedPieceOfFurniture) 
by trojanrob
Sun May 05, 2013 5:12 pm
Forum: Developers
Topic: How to get unique index furniture that is displayed in the panel ?
Replies: 3
Views: 5599

Re: How to get unique index furniture that is displayed in the panel ?

Sorry, but I don't see what you mean by "unique index".
By the way, it would be nice to explain also what is your project.

Hi,

I want use SH3D to create simple 2D plan, put on it my objects.
Add new atributes to objects.
Set added attributes and export all to my application (BMS for small houses ...
by trojanrob
Tue Apr 30, 2013 8:52 pm
Forum: Developers
Topic: How to get unique index furniture that is displayed in the panel ?
Replies: 3
Views: 5599

How to get unique index furniture that is displayed in the panel ?

I need this unique index in HomeFurniturePanel to control attributes added to furniture.

Thanks in advance.
Robert