Jump to content

Insert electricalsockets with script


Recommended Posts

Hello all!

 

I hope you guys will understand me. English is not my main language.

 

I work with electricalconstruction in buildings and i hope you guys can give me a solution on a task.

 

Is it possible to do a script that insert sockets and switches after i have measure the circumference in a room? Depending on the cicumference in a room. The script shall insert xx numbers of sockets in the right place.

 

The formula för sockets is cicumference/3,75= number of sockets in a room.

 

Can i use excel to do the parameters?

Link to comment
Share on other sites

How do you account for door openings in this magical script?

 

You mean perimeter not circumference don't you?

 

Is the perimeter of each room a single continuous polyline?

Link to comment
Share on other sites

Yes remark, I mean perimeter.

 

The perimeter of the room is a single continuous polyline. The door is included in the measurment. But we do not insert sockets in the door opening.

Link to comment
Share on other sites

It sounds like it needs a few more rules other than / 3.75 what happens when this answer is at a corner you physically can not put in a switch, it would need to be moved a clear distance away. Do you then start again with the clear distance or max spacing ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...