{"id":947,"date":"2021-09-01T18:18:50","date_gmt":"2021-09-02T01:18:50","guid":{"rendered":"https:\/\/gantovnik.com\/bio-tips\/?p=947"},"modified":"2024-08-13T14:18:48","modified_gmt":"2024-08-13T21:18:48","slug":"171-delete-the-difference-between-the-elements-on-marks-1-and-2-in-hypermesh-tcl","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2021\/09\/171-delete-the-difference-between-the-elements-on-marks-1-and-2-in-hypermesh-tcl\/","title":{"rendered":"#171 Delete the difference between the elements on marks 1 and 2 in HyperMesh tcl"},"content":{"rendered":"<p>#171 Delete the difference between the elements on marks 1 and 2 in HyperMesh tcl.<\/p>\n<p>*markdifference determines the difference between two marks and stores the results in the first mark.<\/p>\n<pre class=\"lang:python decode:true \" >*createmark elems 1 1 2 3 4\n*createmark elems 2 4 5 6 7\n*markdifference elems 1 elems 2\n*deletemark elems 1<\/pre>\n<p>This will delete elements 1, 2, and 3.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#171 Delete the difference between the elements on marks 1 and 2 in HyperMesh tcl. *markdifference determines the difference between two marks and stores the results in the first mark. *createmark elems 1 1 2 3 4 *createmark elems 2 4 5 6 7 *markdifference elems 1 elems 2 *deletemark elems 1 This will delete [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24,27],"tags":[],"class_list":["post-947","post","type-post","status-publish","format-standard","hentry","category-hypermesh","category-tcl"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-fh","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1396,"url":"https:\/\/gantovnik.com\/bio-tips\/2022\/02\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2\/","url_meta":{"origin":947,"position":0},"title":"#265 *markintersection in HyperMesh tcl","author":"gantovnik","date":"2022-02-10","format":false,"excerpt":"*markintersection determines the intersection between two marks and stores the results in the first mark in HyperMesh tcl. To delete the intersection between the elements on marks 1 and 2: This will delete element 4.","rel":"","context":"In &quot;tcl&quot;","block_context":{"text":"tcl","link":"https:\/\/gantovnik.com\/bio-tips\/category\/tcl\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1398,"url":"https:\/\/gantovnik.com\/bio-tips\/2022\/02\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2-2\/","url_meta":{"origin":947,"position":1},"title":"#266 *marknotintersection in HyperMesh tcl","author":"gantovnik","date":"2022-02-10","format":false,"excerpt":"*marknotintersection determines the intersection between two marks and stores everything but the intersection in the first mark in HyperMesh tcl. To delete the elements not shared by marks 1 and 2: This will delete elements 1, 2, 3, 5, 6, and 7.","rel":"","context":"In &quot;tcl&quot;","block_context":{"text":"tcl","link":"https:\/\/gantovnik.com\/bio-tips\/category\/tcl\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1265,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/12\/133-create-vectors-and-planes-using-tcl-in-hypermesh-2\/","url_meta":{"origin":947,"position":2},"title":"#227 Delete all elements using tcl in HyperMesh","author":"gantovnik","date":"2021-12-14","format":false,"excerpt":"To delete all of the elements in the model: To delete the elements 50, 51, and 52 from a database:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":775,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/132-delete-all-elements-using-tcl-in-hypermesh\/","url_meta":{"origin":947,"position":3},"title":"#132 Delete all elements using tcl in HyperMesh","author":"gantovnik","date":"2020-11-12","format":false,"excerpt":"#132 Delete all elements using tcl in HyperMesh To delete all elements: To delete elements 50 51 52:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2235,"url":"https:\/\/gantovnik.com\/bio-tips\/2024\/06\/432-hypermesh-tcl-script-to-mark-and-print-all-adjacent-element-ids\/","url_meta":{"origin":947,"position":4},"title":"#432 Hypermesh tcl script to mark and print all adjacent element IDs","author":"gantovnik","date":"2024-06-30","format":false,"excerpt":"Output:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":779,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/133-create-vectors-and-planes-using-tcl-in-hypermesh\/","url_meta":{"origin":947,"position":5},"title":"#133 Create vectors and planes using tcl in HyperMesh","author":"gantovnik","date":"2020-11-12","format":false,"excerpt":"#133 Create vectors and planes using tcl in HyperMesh To create a vector, and translate node 10 along this vector by 5 units: To create a plane, and reflect all displayed elements about this plane that has a normal along the x axis and\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=947"}],"version-history":[{"count":2,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/947\/revisions"}],"predecessor-version":[{"id":3637,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/947\/revisions\/3637"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}