Quantcast
Channel: Extensions - SketchUp Community
Viewing all articles
Browse latest Browse all 3629

SU freezes when creating lines - ruby plugin

$
0
0

@sebastianrivas wrote:

Hi. I am reading lines from a simple file. That works ok, as i created messages to Sketchup.set_status_text to be sure what`s going on. But, when i actually create the lines from the array, the program freezes. It freeze only above 30k lines more or less.

This is the loop in which the problem occurs:

for c in 1…$edges_count
this_edge = edges_array[c - 1]

			new_model.active_layer = this_edge[2]
							
			entities_edges.add_edges(this_edge[0], this_edge[1])
		end

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 3629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>