user39745: I want to have a circle with dashed stroke line. But I don't want them to have these proportions, I want to have it as straight line. Here's what I have on AE:
And here's what I want to achieve:

I need the dashes to stay a straight line, regardless of the gap I will add (because the gap will be animated).

user4426: I would try doing this using a text layer.
Type some text dashes "-------".
Add a circular mask path to the same layer.
Turn the mask off.
Set the text to follow Along the Path (in the Path Options twirl down).
Using the Animation triangle thingy, click on Rotation to apply per-character-rotation.
Add more dashes if you need them.
Adjust the thickness using the "horizontally scale" control in the Character Panel.
Adjust the tracking in the Character Panel to adjust the distance between the dashes.
It gives you loads of flexibility, and the ability to make really nice animations too.

As explained in more depth here by @KylasaurusRex:
https://kylehamrick.com/textperiments-1

39745: <p>I want to have a circle with dashed stroke line. But I don't want them to have these proportions, I want to have it as straight line. Here's what I have on AE:<a href="https://i.stack.imgur.com/zkH7z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zkH7z.png" alt="enter image description here" /></a></p>
<p>And here's what I want to achieve:</p>
<p><a href="https://i.stack.imgur.com/zom8W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zom8W.png" alt="enter image description here" /></a></p>
<p>I need the dashes to stay a straight line, regardless of the gap I will add (because the gap will be animated).</p>
 4426: <p>I would try doing this using a text layer.</p>
<p>Type some text dashes &quot;-------&quot;.</p>
<p>Add a circular mask path to the same layer.</p>
<p>Turn the mask off.</p>
<p>Set the text to follow Along the Path (in the Path Options twirl down).</p>
<p>Using the Animation triangle thingy, click on Rotation to apply per-character-rotation.</p>
<p>Add more dashes if you need them.</p>
<p>Adjust the thickness using the &quot;horizontally scale&quot; control in the Character Panel.</p>
<p>Adjust the tracking in the Character Panel to adjust the distance between the dashes.</p>
<p>It gives you loads of flexibility, and the ability to make really nice animations too.</p>
<p><a href="https://i.stack.imgur.com/i5XsY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i5XsY.jpg" alt="grab" /></a></p>
<p>As explained in more depth here by @<a href="https://twitter.com/KylasaurusRex/status/1091426236973416449?s=20&amp;t=4EFKfi3rVUzNCftLJEdpGg" rel="nofollow noreferrer">KylasaurusRex</a>:</p>
<p><a href="https://kylehamrick.com/textperiments-1" rel="nofollow noreferrer">https://kylehamrick.com/textperiments-1</a></p>
