---
title: "joão chaves (@johanch) | Hashnode"
description: "3D artist. Read the latest articles by joão chaves on Hashnode."
url: "https://hashnode.com/@johanch"
---

@johanch

# joão chaves

@johanch · Joined May 2022

3D artist

## Comments

[Hey, thanks a lot for the article. I am trying to rasterize a layer that I imported into a psd document. I posted the question on stack overflow but didn't get any reply. from photoshop import Session with Session("C:/Users/Admin/Documents/images/edit\_wall.psd", action="open") as ps: doc = ps.active\_document desc = ps.ActionDescriptor desc.putPath(ps.app.charIDToTypeID("null"), "C:/CG\_CONTENT/wall\_height.exr") event\_id = ps.app.charIDToTypeID("Plc ") # \`Plc\` need one space in here. ps.app.executeAction(ps.app.charIDToTypeID("Plc "), desc) currentLayer = doc.activeLayer doc.rasterize(currentLayer) Can you point me in the right direction? Thanks.](https://hashnode.com/posts/using-python-scripts-to-edit-photoshop-layers/61ffef123a8a6e5fe1197aac/comment/628693357b02ca162edaf1c3)

Comment · Article · May 19, 2022 · [🎨 Using Python Scripts To Edit Photoshop Layers](https://hashnode.com/posts/using-python-scripts-to-edit-photoshop-layers/61ffef123a8a6e5fe1197aac)
