question about room.setLevel

This topic has been viewed 5594 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
WenFai
Posts: 14
Joined: Fri Jul 07, 2017 2:15 am
Country: CN

question about room.setLevel

Post by WenFai »

For example, I create basic level(first level) and create rooms for my home. Then I use room.setLevel in code to set rooms to higher level(e.g. room.setLevel(new Level(build.intValue()+"",home.getWallHeight() * (build.intValue()-1),5,home.getWallHeight()));).
Then comes the issue, it seems that in SweetHome3D exe, when I select all items for home and drag it to other place or just rotate home, the walls and windows can be dragged or rotate successfully. But rooms still remain there, not being dragged or rotated.
Can the room handle like window that can setElevation directly?

Also, if there a new version for coming weeks?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: question about room.setLevel

Post by Puybaret »

You ask a lot but don't show anything [:(]
Open source is also sharing...
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
WenFai
Posts: 14
Joined: Fri Jul 07, 2017 2:15 am
Country: CN

Re: question about room.setLevel

Post by WenFai »

You ask a lot but don't show anything [:(]
Open source is also sharing...
Sorry, that is because my plugin is not completed yet. I did want to put my work with picture here to describe easily. But it seems cannot paste picture here directly. If want to put picture here seems need to put pictures on internet first and then type the url. As working in company, the company's net limit its staff from giving source out. So I have no way to show picture but just describe text. I am NOT intentionally for NOT showing what I did...
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests