Merge tree script for urban planning road tree version 1.1

Source: Internet
Author: User

Oarray = getcurrentselection () <br/> clearselection () <br/> oarray2 = getcurrentselection () <br/> for I = 1 to oarray. count by 100 do <br/> (<br/> J = I <br/> K = I + 100 <br/> L = I <br/> while (L + 1) <k do <br/> (<br/> if l> = oarray. count then exit </P> <p> oarray [J]. attach oarray [L + 1] oarray [J] <br/> Format "First Group progress: %, %/N "l k <br/> L + = 1 <br/>) <br/> append oarray2 oarray [J] <br/>) <br/> Print oarray2 <br/> for I = 2 to oarray2.count DO <br/> (<br/> oarray2 [1]. attach oarray2 [I] oarray2 [1] <br/> Format "second group progress: %, %/N" l k <br/>)

 

 

Usage: select the tree to merge and execute the script.

 

Version description:

Improvements compared with Version 1.0

A large number of objects can be merged.

About 10 thousand is acceptable.

In addition, the name of the currently executed object will be output while running.

User-friendly

Does not make users feel that 3DS MAX is down

However

More

This script also takes a lot of time.

This script still needs to be modified.

This will be improved in the next version

Looking forward to ing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.