# Why does PMI cross highlighting not work in 3DPDF?

**URL:** <https://forum.techsoft3d.com/t/why-does-pmi-cross-highlighting-not-work-in-3dpdf/2003>\
**Category:** HOOPS Exchange\
**Tags:** learn, knowledge-base, pmi, 2023, 3d-pdf\
**Created:** [May 11, 2023, 12:27pm UTC](https://forum.techsoft3d.com/t/why-does-pmi-cross-highlighting-not-work-in-3dpdf/2003 "2023-05-11T12:27:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Man](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Man](https://forum.techsoft3d.com/u/Man)\
**Post date:** [May 11, 2023, 12:27pm UTC](https://forum.techsoft3d.com/t/why-does-pmi-cross-highlighting-not-work-in-3dpdf/2003/1 "2023-05-11T12:27:07Z")

</div>

**Question** : I have created the [PMI crosshighlight](https://docs.techsoft3d.com/publish/latest/guide/authoring/defining_3d.html#activating-pmi-cross-highlighting) with `m_bActivatePMICrossHighlight =true`, but it still doesn’t work as expected in 3DPDF.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/a/a18a6261424418a87d0a764283c8bf94088cd483.png)

**Answer** :

1. Please make sure the “Preferred Renderer” is set to “DirectX”  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/1/1fa5ac8e14240c1713849165a871fb612727d01a.png)
2. Please make sure “Protected Mode at startup” is disabled.  
 ![image-20230502-130532](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/b/b9762bd5d907f2e8e2eef6eebf5fb9aa4e273b86.png)

- When protected mode is enabled, it disables JavaScript. Therefore, it is an expected result that the associated face is not highlighted.
- Attached [link](https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/protectedmode.html) for explanation: _All PDF processing such as PDF and image parsing, JavaScript execution, and 3D rendering happens in the sandbox and are subject to its limits; for example, processes cannot access other processes._
