dear Puybaret Sir,
Please sir, i even don't know about "factory reference class".
But you know how to request the area of displayed Room.
Please sir, tell me how i should do it.
Please sir, i cant continue my project without this Room area value.
how to get area of room
This topic has been viewed 7407 times and has 12 replies
Re: how to get area of room
Sir, i got the area by this code
float area=0.0f;
for (Room piece : getHome().getRooms()) {
area=piece.getArea();
}
Tx for your support,i need more
Sir, this returns the area of last drawn room.
Can u tell me, how could i get area of any selected Room in drawing.
float area=0.0f;
for (Room piece : getHome().getRooms()) {
area=piece.getArea();
}
Tx for your support,i need more
Sir, this returns the area of last drawn room.
Can u tell me, how could i get area of any selected Room in drawing.
Re: how to get area of room
Sir, I got selected Room area too, use getSelectedItems.
How can i get width of furniture which selected (as in same way we can get selected furniture width) but which is inside that selected room.
When i get those values separately, it gives answer. But as together, there's no answer.
can u tell me, how can i do it.
How can i get width of furniture which selected (as in same way we can get selected furniture width) but which is inside that selected room.
When i get those values separately, it gives answer. But as together, there's no answer.
can u tell me, how can i do it.
Who is online
Users browsing this forum: No registered users and 1 guest