I had created some picture which I plan to use it in different places of the coordinate plane. But I made it in a form of TeX macro \cone{...}.
How can I create such picture in a form of tikz \node[cone]?
\documentclass[tikz, border=1cm]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\def\cone(#1){
\draw (#1) +(135:0.5) -- +(-45:0.5);
\draw (#1) +(45:0.5) -- +(-135:0.5);
\fill (#1) circle (0.03);
\draw let \p1=(#1) in (\x1,{\y1+.35cm}) ellipse (0.352 and 0.05);
\draw let \p1=(#1) in (\x1,{\y1-0.35cm}) ellipse (0.352 and 0.05);
}
\coordinate (A) at (0,0);
\coordinate (B) at (1,1);
\cone(A)
\cone(B)
\end{tikzpicture}
\end{document}


\pic. it can be used as\pic at (x,y) {cone}. – Zarko Oct 11 '17 at 23:16