Jump to content
Sign in to follow this  
sanket_patil

Script to convert RBE2 to RBE3 or vice-a-versa

Recommended Posts

Some lines to give you some ideas:

foreach eid $elemList {
	set config [ hm_getentityvalue elements $eid "config" 0 ]
	#----- RBE2 -----------
	if { $config == 55 } {
		set independentNode [hm_getentityvalue elements $eid independentnode.id 0]
		set elemNodes [hm_nodelist $eid]
		eval *createmark nodes 1 $elemNodes
		eval *createmark nodes 2 $independentNode
		*markdifference nodes 1 nodes 2
		set elemNodes [hm_getmark nodes 1]
		puts "RBE2: $eid = $independentNode \[ $elemNodes \]"
		set new_eID [proc_to_make_RBE3 $independentNode $elemNodes]
	}
}

 

tinh likes this

Share this post


Link to post
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.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

×
×
  • Create New...