Jump to content

Multiple selection for large number of objects?


Recommended Posts

I'm creating a grid type thing... I want to take an object, like breakable hay, and duplicated it tenfold all along in rows. Is there a way to highlight multiple of the items and clone them on each other to move them like that as a group, or do I have to do each one painstakingly individually?

Link to comment

I'm creating a grid type thing... I want to take an object, like breakable hay, and duplicated it tenfold all along in rows. Is there a way to highlight multiple of the items and clone them on each other to move them like that as a group, or do I have to do each one painstakingly individually?

Link to comment

I wanted to make a Haybreak grid, so I used the only programming language I knew... Those familiar with coding should be able to convert this code to any language they are familiar with.

It will run on any php enabled server, and you need to copy paste the source, since web browsers strip away xml tags

<?php

$width = 1;

$length = 300;

$positionX = 1510;

$positionYstart = 3287;

$id = 0;

for($i=0;$i<$width;$i++){

$positionX = $positionX + 4;

$positionY = $positionYstart;

for($j=0;$j<$length;$j++){

$positionY = $positionY - 4;

$id++;

echo '';

echo "\n";

echo ''.$positionX.'.655029 ';

echo '-'.$positionY.'.685303 26.005787';

echo "\n";

echo '0.000000 0.000000 0.000000';

echo "\n";

echo '3374';

echo "\n";

echo '';

echo "\n";

echo "\n";

}

}

?>

Link to comment

I wanted to make a Haybreak grid, so I used the only programming language I knew... Those familiar with coding should be able to convert this code to any language they are familiar with.

It will run on any php enabled server, and you need to copy paste the source, since web browsers strip away xml tags

<?php

$width = 1;

$length = 300;

$positionX = 1510;

$positionYstart = 3287;

$id = 0;

for($i=0;$i<$width;$i++){

$positionX = $positionX + 4;

$positionY = $positionYstart;

for($j=0;$j<$length;$j++){

$positionY = $positionY - 4;

$id++;

echo '';

echo "\n";

echo ''.$positionX.'.655029 ';

echo '-'.$positionY.'.685303 26.005787';

echo "\n";

echo '0.000000 0.000000 0.000000';

echo "\n";

echo '3374';

echo "\n";

echo '';

echo "\n";

echo "\n";

}

}

?>

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...