# 2DGlyph Parameter not recorded by macro

**URL:** https://discourse.paraview.org/t/2dglyph-parameter-not-recorded-by-macro/5308
**Category:** ParaView Support
**Created:** [September 9, 2020, 4:37pm UTC](https://discourse.paraview.org/t/2dglyph-parameter-not-recorded-by-macro/5308 "2020-09-09T16:37:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![leopessanha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leopessanha/32/289_2.png) [@leopessanha](https://discourse.paraview.org/u/leopessanha)
#### Post date: [September 9, 2020, 4:37pm UTC](https://discourse.paraview.org/t/2dglyph-parameter-not-recorded-by-macro/5308/1 "2020-09-09T16:37:23Z")

</div>

Hi!

I was trying to automate the process of generating a 2d wind flow visualization with glyphs

I’d like the GlyphType to be of 2D Glyph and the _2DGlyph_ to be a _Filled_ _Thick Arrow_ like in the following image ![Untitled](https://discourse.paraview.org/uploads/default/original/2X/8/8852e85e156f188684ff1df2ad8f3d33a9cf9e61.png)

When recording the macro, the only option recorded was the _2D Glyph_.

I noticed the field that opened after you choose “Glyph Type” has the same name “Glyph Type” so I tried

```auto
glyph1 = Glyph(Input=slice1, GlyphType='2D Glyph', GlyphType='Thick Arrow')

```

**but to no sucess**.

Is this supported? Is there a specific way to do what I am trying?  
Best Regards

---

<div class="post-metadata">

### Author: ![leopessanha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leopessanha/32/289_2.png) [@leopessanha](https://discourse.paraview.org/u/leopessanha)
#### Post date: [September 10, 2020, 12:27pm UTC](https://discourse.paraview.org/t/2dglyph-parameter-not-recorded-by-macro/5308/2 "2020-09-10T12:27:47Z")

</div>

After giving it some thougth I tried some modifications trough the python shell and was able to save the propertie I wanted in the following manner:

```auto
create a new 'Glyph'
glyph1 = Glyph(Input=calculator2, GlyphType='2D Glyph')
glyph1.GlyphType.GlyphType = 'ThickArrow'
glyph1.GlyphType.Filled = 1

```

=)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 10, 2020, 12:29pm UTC](https://discourse.paraview.org/t/2dglyph-parameter-not-recorded-by-macro/5308/3 "2020-09-10T12:29:46Z")

</div>

Nice, it should have been traced though. Could you open an issue on our gitlab ?  
[https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)
