A quick and easy fix is to use version 2 syntax in the preamble definition:
in C:\Users\ yourUserName \AppData\Roaming\inkscape\extensions\circuitSymbols\circuitSymbolsPreamble.tex
\usepackage{amsmath,amsthm,amsbsy,amsfonts,amssymb}
\usepackage[per-mode=symbol]{siunitx} % change this line here.
\usepackage{steinmetz}
\usepackage[utf8]{inputenc}
%\usepackage[T1]{fontenc}
\newcommand{\micro}{\ensuremath{\mu}}
\newcommand{\phasorName}[1]{ \ensuremath{ \boldsymbol{\hat #1} } }
\newcommand{\impedance}[1]{ \ensuremath{ \boldsymbol{#1} } }
\newcommand{\complexPol}[2]{\ensuremath{#1\phase{#2}}}
\newcommand{\complexPolDeg}[2]{\ensuremath{#1\phase{#2\degree}}}
% commend those lines out, they are the old syntax
% new units
%\newunit{\Vef}{\volt_{ef}} % volt eficaz
%\newunit{\Vrms}{\volt_{rms}} % volt RMS
%\newunit{\Vpp}{\volt_{pp}} % volt peak-to-peak
%\newunit{\Aef}{\ampere_{ef}} % ampere eficaz
%\newunit{\Arms}{\ampere_{rms}} % ampere rms
%\newunit{\App}{\ampere_{pp}} % ampere peak-to-peak
% add those lines, they are the new syntax
\DeclareSIUnit\Vef{\volt_{ef}} % volt eficaz
\DeclareSIUnit\Vrms{\volt_{rms}} % volt RMS
\DeclareSIUnit\Vpp{\volt_{pp}} % volt peak-to-peak
\DeclareSIUnit\Aef{\ampere_{ef}} % ampere eficaz
\DeclareSIUnit\Arms{\ampere_{rms}} % ampere rms
\DeclareSIUnit\App{\ampere_{pp}} % ampere peak-to-peak
% logic Commands
\newcommand{\NOT}[1]{\ensuremath{\overline{\mbox{\ensuremath{#1}}}}}
\newcommand{\AND}{\ensuremath{\cdot}}
\newcommand{\OR}{\ensuremath{+}}
\newcommand{\XOR}{\ensuremath{\oplus}}
\newcommand{\XNOR}{\ensuremath{\odot}}
Are there any plans to add siunitx version 2 compatibility?
When trying to use inkscapeCircuitSymbols, I run into the following error:
The error suggests that a option "per" for the siunitx Tex-Package is provided, which was used in the version 1 of siunitx. See https://tex.stackexchange.com/questions/327859/package-siunitx-doesnt-work-with-option
A quick and easy fix is to use version 2 syntax in the preamble definition: in C:\Users\ yourUserName \AppData\Roaming\inkscape\extensions\circuitSymbols\circuitSymbolsPreamble.tex
Are there any plans to add siunitx version 2 compatibility?