{"id":173,"date":"2025-03-18T19:18:46","date_gmt":"2025-03-18T10:18:46","guid":{"rendered":"https:\/\/cg-method.com\/photoshop\/?p=173"},"modified":"2025-03-18T19:18:46","modified_gmt":"2025-03-18T10:18:46","slug":"create-group-sets","status":"publish","type":"post","link":"https:\/\/cg-method.com\/photoshop\/create-group-sets\/","title":{"rendered":"Photoshop\u30b9\u30af\u30ea\u30d7\u30c8\uff08jsx\uff09\u2502\u307e\u3068\u3081\u3066\u30b0\u30eb\u30fc\u30d7\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"\n<p>Photoshop\u3067\u8907\u6570\u306e\u30b0\u30eb\u30fc\u30d7\u3092\u4e00\u62ec\u3067\u4f5c\u6210\u3067\u304d\u308b <strong>\u30b9\u30af\u30ea\u30d7\u30c8<\/strong> \u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"317\" height=\"291\" src=\"https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547.jpg\" alt=\"\" class=\"wp-image-174\" srcset=\"https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547.jpg 317w, https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547-300x275.jpg 300w\" sizes=\"auto, (max-width: 317px) 100vw, 317px\" \/><\/figure>\n\n\n\n<p>\u7279\u306b <strong>Live2D\u306e\u7d20\u6750\u5206\u3051<\/strong> \u306a\u3069\u3001\u4e8b\u524d\u306b\u30ec\u30a4\u30e4\u30fc\u69cb\u6210\u3092\u6574\u3048\u3066\u304a\u304d\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u624b\u52d5\u3067\u4f5c\u6210\u3059\u308b\u624b\u9593\u3092\u7701\u7565\u3067\u304d\u308b<\/strong><\/li>\n\n\n\n<li><strong>\u4e00\u5b9a\u306e\u30ec\u30a4\u30e4\u30fc\u69cb\u9020\u3092\u81ea\u52d5\u3067\u751f\u6210\u3067\u304d\u308b<\/strong><\/li>\n\n\n\n<li><strong>Live2D\u306a\u3069\u306e\u7d20\u6750\u7ba1\u7406\u306b\u9069\u3057\u3066\u3044\u308b<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u3066\u30b0\u30eb\u30fc\u30d7\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">STEP.1 \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u683c\u7d0d<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>CreateGroupSets.jsx<\/code> \u3068\u3044\u3046\u540d\u524d\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4fdd\u5b58\u3002<\/li>\n<\/ol>\n\n\n\n<p><strong>CreateGroupSets.jsx<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\/\/ \u9854\nvar layer_face = app.activeDocument.layerSets.add();\nvar layer_face_paint = layer_face.layerSets.add();\nvar layer_face_line = layer_face.layerSets.add();\nlayer_face.name = &#39;\u9854&#39;;\nlayer_face_paint.name = &#39;\u5857\u308a&#39;;\nlayer_face_line.name = &#39;\u7dda\u753b&#39;;\n\n\/\/ \u898b\u672c\nvar layer_template = app.activeDocument.layerSets.add();\nlayer_template.name = &#39;\u898b\u672c&#39;;\n<\/code><\/pre><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>C:\\Program Files\\Adobe\\Adobe Photoshop CC\\Presets\\Scripts\\<\/code><\/pre><\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Photoshop\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">STEP.2 \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>[\u30d5\u30a1\u30a4\u30eb]<\/strong> \u2192 <strong>[\u30b9\u30af\u30ea\u30d7\u30c8]<\/strong> \u2192 <strong>[CreateGroupSets]<\/strong> \u3092\u5b9f\u884c\u3002<\/li>\n\n\n\n<li><strong>\u300c\u9854\u300d\u300c\u5857\u308a\u300d\u300c\u7dda\u753b\u300d\u300c\u898b\u672c\u300d<\/strong> \u306e\u30b0\u30eb\u30fc\u30d7\u304c\u81ea\u52d5\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"317\" height=\"291\" src=\"https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547.jpg\" alt=\"\" class=\"wp-image-174\" srcset=\"https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547.jpg 317w, https:\/\/cg-method.com\/photoshop\/wp-content\/uploads\/2025\/03\/20170105082547-300x275.jpg 300w\" sizes=\"auto, (max-width: 317px) 100vw, 317px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u4e00\u77ac\u3067\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3067\u304d\u308b<\/strong><\/li>\n\n\n\n<li><strong>\u30ec\u30a4\u30e4\u30fc\u306e\u6574\u7406\u304c\u5fc5\u8981\u306a\u4f5c\u696d\uff08Live2D\u306a\u3069\uff09\u306b\u6700\u9069<\/strong><\/li>\n\n\n\n<li><strong>\u624b\u4f5c\u696d\u306e\u8ca0\u62c5\u3092\u8efd\u6e1b\u3057\u3001\u52b9\u7387\u7684\u306a\u30c7\u30b6\u30a4\u30f3\u4f5c\u696d\u304c\u53ef\u80fd<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Photoshop\u3067\u306e\u4f5c\u696d\u3092 <strong>\u3088\u308a\u30b9\u30e0\u30fc\u30ba\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u305c\u3072\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6d3b\u7528<\/strong> \u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Photoshop\u3067\u8907\u6570\u306e\u30b0\u30eb\u30fc\u30d7\u3092\u4e00\u62ec\u3067\u4f5c\u6210\u3067\u304d\u308b \u30b9\u30af\u30ea\u30d7\u30c8 \u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u7279\u306b Live2D\u306e\u7d20\u6750\u5206\u3051 \u306a\u3069\u3001\u4e8b\u524d\u306b\u30ec\u30a4\u30e4\u30fc\u69cb\u6210\u3092\u6574\u3048\u3066\u304a\u304d\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002 \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8 \u307e\u3068\u3081\u3066\u30b0\u30eb\u30fc\u30d7\u30bb\u30c3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":175,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2],"tags":[9],"class_list":["post-173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-layer-operation","tag-free"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":1,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":176,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/posts\/173\/revisions\/176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/media\/175"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/photoshop\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}