Sanitary Pipe Fittings Autocad Commands
Free Pipe blocks and fittings Blocks. The.DWG files are compatible back to AutoCAD 2000. These CAD drawings are available to purchase and download immediately! Spend more time designing, and less time drawing!We are dedicated to be the best CAD resource for architects,interior designer and landscape designers. Sanitary Pipe Fittings Autocad Block Drawings Ranger 21 line drawing This page provides access to the standard drawings for water and sewer infrastructure being. A list of Autocad commands in post form as well as downloadable pdf.
- Sanitary Pipe Fittings Autocad Commands For Free
- Dwg Pipe Fittings
- Sanitary Pipe Fittings Autocad Commands Free
Free CAD and BIM blocks library - content for AutoCAD, AutoCAD LT, Revit, Inventor, Fusion 360 and other 2D and 3D CAD applications by Autodesk. CAD blocks and files can be downloaded in the formats DWG, RFA, IPT, F3D. You can exchange useful blocks and symbols with other CAD and BIM users. See popular blocks and top brands.
| Selected blocks (choose category on the left):block See also category: Fixture • Flanges • Fittings • FITTINGS 3DFITTINGS_3D.dwgcat: _Other Downloaded: 1896x Uploader: Hananta • Author: Hananta fittingsFittings.dwgcat: Pipes Downloaded: 16699x Uploader: sarvadevsookram FITTING ISOMETRICFITTING_ISOMETRIC.dwgcat: Pipes Downloaded: 11194x Uploader: paul8309 Plantroom-Fittings-EquipsPlantroom-Fittings-Equips.dwgcat: Functional symbols Downloaded: 14731x Uploader: KEVIN VIREN • Author: KEVIN VIREN • Manufacturer: GIBB MAURITIUS(KL) U-Bolt-sizeU-Bolt-size.dwgcat: Pipes Downloaded: 8501x Uploader: bipin_18 • Author: Bipin pvc pipe fittingDYNAMIC_BLOCK_PVC_FITTING.dwgcat: Water, wastewater Downloaded: 4936x Uploader: osama2005 • Author: OSAMA OMAR 2-inch camlock2-Inch_Camlock.dwgcat: _Other Downloaded: 4219x Uploader: bobman • Author: bobman Victaulic Fittings Short Radius FirelockVictaulic.dwgShort Radius Victaulic Fittings for sprinkler systems DWG2007 Size 174,9kB • from 18.5.2011 Uploader: jiripolacek • Author: Jiri Polacek • Manufacturer: Victaulic Piping-bochtenPiping-bochten.dwgcat: Pipes Downloaded: 1160x Uploader: reijkenb pipe fitting Pushfitpipe_fitting.dwgcat: Pipes Downloaded: 912x Uploader: hntec • Author: hr naghshechi pages: 12345678910 ... NextLast |
Want to download the whole library? Télécharger l'ensemble du catalogue?
You can download all CAD blocks directly from your AutoCAD, without logins and any limitations. See the add-on application Block Catalog for AutoCAD 2013 and higher and the add-on application BIM-Families for Revit 2015 and higher.
CAD blocks can be downloaded and used for your own personal or company design use only. Any distribution of the Catalog content (to other catalogs, web download, CD/DVD media, etc.) is prohibited - see Terms of use. The DWG-version problem (not valid file, invalid file, drawing not valid, cannot open) can be solved by the Tip 2869.
See also block-statistics and the latest 100 blocks.
nttt
nttttnnttttntttttSorry, unable to complete the action you requested.nttttnnttttnnttttnnttttntttnntttntt”;LITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c63f1fb71’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c63908599_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#messageSearchField_b2e87c63908599_0″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching…”,”emptyText”:”No Matches”,”successText”:”Results:”,”defaultText”:”Enter a search word”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c645756cf’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c63908599_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#messageSearchField_b2e87c63908599_1″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching for users…”,”emptyText”:”No Matches”,”successText”:”Users found:”,”defaultText”:”Enter a user name or rank”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c6467b6c7’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c63908599_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#userSearchField_b2e87c63908599″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AjaxSupport({“ajaxOptionsParam”:{“event”:”LITHIUM:userExistsQuery”,”parameters”:{“javascript.ignore_combine_and_minify”:”true”}},”tokenId”:”ajax”,”elementSelector”:”#userSearchField_b2e87c63908599″,”action”:”userExistsQuery”,”feedbackSelector”:”#ajaxfeedback_b2e87c63908599_0″,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.usersearchfield:userexistsquery?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”ajaxErrorEventName”:”LITHIUM:ajaxError”,”token”:””});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching…”,”emptyText”:”No Matches”,”successText”:”Results:”,”defaultText”:”Enter a search word”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c64c61af9’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c63908599_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#noteSearchField_b2e87c63908599″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AjaxSupport.fromLink(‘#enableAutoComplete_b2e87c63908599’, ‘enableAutoComplete’, ‘#ajaxfeedback_b2e87c63908599_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);
LITHIUM.Tooltip({“bodySelector”:”body#lia-body”,”delay”:30,”triggerSelector”:”#link_b2e87c63908599″,”tooltipContentSelector”:”#link_b2e87c63908599_0-tooltip-element .content”,”position”:[“bottom”,”left”],”tooltipElementSelector”:”#link_b2e87c63908599_0-tooltip-element”,”events”:{“def”:”focus mouseover,blur mouseout”}});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c63908599_4″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.SearchAutoCompleteToggle({“containerSelector”:”#searchautocompletetoggle_b2e87c63908599″,”enableAutoCompleteSelector”:”.search-autocomplete-toggle-link”,”enableAutocompleteSuccessEvent”:”LITHIUM:ajaxSuccess:enableAutoComplete”,”disableAutoCompleteSelector”:”.lia-autocomplete-toggle-off”,”disableAutocompleteSuccessEvent”:”LITHIUM:ajaxSuccess:disableAutoComplete”,”autoCompleteSelector”:”.lia-autocomplete-input”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c63908599_5″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.SearchForm({“useAutoComplete”:true,”selectSelector”:”.lia-search-form-granularity”,”useClearSearchButton”:false,”buttonSelector”:”.lia-button-searchForm-action”,”formSelector”:”#lia-searchform_b2e87c63908599″,”nodesModel”:{“autodesk community”:{“title”:”Search Community: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”},”66 forum-board”:{“title”:”Search Board: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”},”tkb tkb”:{“title”:”Articles”,”inputSelector”:”.lia-search-input-tkb-article”},”user user”:{“title”:”Users”,”inputSelector”:”.lia-search-input-user”},”66 category”:{“title”:”Search Category: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”}},”inputSelector”:”#messageSearchField_b2e87c63908599_0″,”clearSearchButtonSelector”:null});
(function($){
var siteSearch = {
$el : $(“#lia-body .lia-content .lia-component-custom-user-site-search”),
init : function(){
this.$el
.find(“.lia-search-form-granularity option[title=’Community’]”)
.attr(“selected”,”selected”);
if(this.$el.find(“.search-input”).val().length ! 0){
this.$el.find(“.search-placeholder”).hide();
}
},
placeHolder : function(){
var $placeHolder = this.$el.find(“.search-placeholder”);
var $searchInput = this.$el.find(“.lia-search-input-message”);
var inputID = $searchInput.attr(“id”);
$placeHolder.attr(“for”,inputID);
this.$el.find(“.search-input”)
.focus(function(){
$placeHolder.hide();
})
.blur(function(){
if($.trim($(this).val()).length 0) {
$placeHolder.show();
}
});
},
advanceClick: function(){
var that = this;
that.$el
.find(“.advanced-search-link”)
.on(“click”,function(){
var searchInput = that.$el.find(“.lia-search-input-message”).val();
$(this).attr(“href”,”/t5/forums/searchpage/tab/message?filter=labels&q=” + searchInput + “&advancedSearch=true”);
});
},
onComplete: function(){
this.$el.addClass(“lia-component-custom-js”);
}
};
$(function(){
siteSearch.init();
siteSearch.placeHolder();
siteSearch.advanceClick();
siteSearch.onComplete();
});
})(LITHIUM.jQuery);
;(function($) {
$(“.flyopen-nav a”).on(“click”,function(){
//console.log($(this).attr(“href”));
dataLayer.push({
‘event’: ‘BrowseByProductFlyout’,
‘gtm.custom.label’: $(this).text()
});
});
})(LITHIUM.jQuery);
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#pageInformation”,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox”,”feedbackSelector”:”.InfoMessage”});
(function($){
“use strict”;
var userId = [];
var idObj = {};
$(document.body).bind(“LITHIUM:ajaxSuccess:QuickReply”, function(event, response) {
//location.reload(true);
idObj = {};
findIndex(event);
var htmlData;
htmlData = “.ForumTopicPage #”+idObj[‘id’]+” .forummessage_author_details”;
$.ajax({
type: “POST”,
url: “/plugins/custom/autodesk/autodesk/forum_message_user_details?user_id=”+userId[idObj[‘index’]],
success: function(data){
//$(“.ForumTopicPage #lineardisplaymessageviewwrapper_7 .forummessage_author_details “).html(data);
$(htmlData).html(data);
}
});
})
function findIndex(eventObj){
var id = eventObj.target.id;
$(“.ForumTopicPage .lia-linear-display-message-view”).each(function(index) {
var pagination_element = $(this).find(“#”+id);
if(pagination_element.length != 0){
idObj = {“id”: $(this).attr(“id”),”index”:index};
}
});
}
$.hasKudoed = function(messageId){
var $solution = $(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution.solution-id-” + messageId);
var countBefore = $solution.find(“.lia-component-kudos-widget-message-kudos-count”).text()*1;
var countAfter = countBefore + 1;
$(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution-id-“+messageId+” .lia-button-image-kudos-give”).unbind(‘click’);
$solution.find(“.lia-button-image-kudos”)
.removeClass(“lia-button-image-kudos-enabled lia-button-image-kudos-not-kudoed”)
.addClass(“lia-button-image-kudos-disabled lia-button-image-kudos-kudoed lia-button-image-kudos-has-kudoes lia-button-image-kudos-has-kudos custom-new-kudos-added messageId-“+messageId + ” “+messageId)
.find(“.lia-button-image-kudos-give”)
.attr(“title”,’Thank you for giving kudos to this post.’)
.find(“.lia-link-navigation”)
.addClass(“lia-link-disabled”)
.addClass(“messageId-“+messageId)
.removeClass(“lia-link-navigation”)
.removeAttr(“href”)
.attr(“title”,’Thank you for giving kudos to this post.’);
$(“.messageId-“+messageId +’ .lia-link-disabled’).click(revokeKudo);
if(countBefore 1) {
$solution.find(“.lia-button-image-kudos”).find(“.kudos-count-link”).removeClass(‘lia-link-disabled’);
}
applyToolTip($solution,true);
};
$.disableKudoed = function(messageId){
var $solution = $(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution.solution-id-” + messageId);
$solution.find(“.lia-button-image-kudos”)
.removeClass(“lia-button-image-kudos-enabled”)
.addClass(” lia-button-image-kudos-disabled”)
.find(“.lia-button-image-kudos-give”)
.attr(“title”,’Sorry, you can’t give kudos to this post.’)
.find(“.lia-link-navigation”)
.addClass(“lia-link-disabled”)
.attr(“title”,’Sorry, you can’t give kudos to this post.’);
};
$.increaseKudoCount = function(messageId){
var $solution = $(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution.solution-id-” + messageId);
var countBefore = $solution.find(“.lia-component-kudos-widget-message-kudos-count”).text()*1;
var countAfter = countBefore + 1;
if(countAfter 1) {
$solution.find(“.lia-component-kudos-widget-kudos-count-label”).text(“kudo”);
}
$solution.find(“.lia-component-kudos-widget-message-kudos-count”)
.text(countAfter.toString());
//$solution.find(“.lia-button-image-kudos-give”).append(“
$solution.find(“.lia-button-image-kudos-give”).find(“.kudo-seperator-bar”).css(‘visibility’,’visible’);
$solution.find(‘.lia-button-image-kudos-count’).css(‘display’,’block’);
};
$.viewWhoGaveKudos = function(messageId){
var $solution = $(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution.solution-id-” + messageId);
if($solution.find(“.lia-component-kudos-widget-message-kudos-count”).text()*1 > 0){
$solution.find(“.lia-button-image-kudos-count .lia-link-navigation”)
.removeClass(“lia-link-disabled”)
.attr(“title”,’Click here to see who gave kudos to this post.’);
}
applyStyleToKudoIcon();
};
$.giveKudoToThisMessage = function(messageId){
try{
$.ajax({
url:’/autodesk/plugins/custom/autodesk/autodesk/custom.autodesk.give-kudos’,
type:”post”,
data:{id:messageId},
success:function(data){
$.hasKudoed(messageId);
findIndexForKudos(messageId,true);
}
});
}
catch(e){
console.log(“function error” + e.message);
}
};
$(“#lia-body .lia-content .message-list>div”).each(function(){
var $messageView = $(this);
$messageView.find(“.lia-message-body”).each(function(){
var $messageBody = $(this);
var $solutions = $messageBody.siblings(“.lia-component-custom-forum-message-solutions”);
if($solutions.length > 0){
$messageBody.append($solutions);
}
});
var alumni = $messageView.find(“.author-expert-elite-alumni”);
if(alumni.length > 0){
var imgadd = ‘https://autodesk.i.lithium.com/html/assets/Autodesk-Elite-Alumni-small.png?7E02A8BA61E56C55080B5E0CED5F061D’;
$messageView.find(“.lia-message-body-content”).append(“
“);
}
});
//Code for dotted line above Accept as Solution button on ForumTopicPage
$(“.lia-component-accepted-solutions-actions-mark-message-as-accepted-solution-secondary-button”).each(function(){
var parent = $(this).closest(“.lia-quilt-column-alley.lia-quilt-column-alley-right”);
/* LIT-793 : added border image */
//$(parent).find(“.lia-message-actions.lia-component-actions”).css(“border-bottom”,”2px dotted transparent”).css(“padding-left”,”10px”);
$(parent).find(“.lia-message-actions.lia-component-actions”).css(“border-bottom”,”2px dotted #ccc”).css(“padding-left”,”10px”).css(“border-image-source”,”url(/html/assets/dottedLine_1x2.gif)”).css(“border-image-repeat”,”repeat”).css(“border-image-slice”,”1 0″).css(“border-top”,”0px”).css(“border-right”,”0px”);
});
$(‘.ForumTopicPage .forummessage_author_details’).each(function(index){
var user_id = $(this).data(‘user-id’);
userId.push(user_id);
//console.log(“userId’s——->>>>”,user_id);
var current_node = $(this);
//ajax call
if(user_id != undefined){
$.ajax({
type: “POST”,
url: “/plugins/custom/autodesk/autodesk/forum_message_user_details?user_id=”+user_id,
success: function(data){
$(current_node).html(data);
}
});
}
});
if($(‘.threaded-message-list’).length > 0){
var ele = $(‘.lia-menu-bar.lia-menu-bar-bottom’);
$(‘.lia-menu-bar.lia-menu-bar-bottom’).remove();
$(‘.lia-component-message-list’).append(ele);
ele.addClass(‘bottom-block’);
}
var messageId;
function revokeKudo(event){
var currentClassName = event.currentTarget.className;
var index = currentClassName.indexOf(“messageId-“);
var sub = currentClassName.substr(index,currentClassName.length);
var ind = sub.indexOf(“-“);
messageId = sub.substr(ind+1,sub.length);
$.ajax({
type: “POST”,
url: “/restapi/vc/messages/id/”+messageId+”/kudos/revoke”,
success: function(data){
console.log(messageId);
decreaseKudo(messageId);
},
error: function(error){
//debugger;
}
});
}
function decreaseKudo(messageId){
var $solution = $(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution.solution-id-” + messageId);
var countBefore = $solution.find(“.lia-component-kudos-widget-message-kudos-count”).text();
var countAfter = countBefore – 1;
if(countAfter 0){
$solution.find(“.lia-component-kudos-widget-message-kudos-count”).text(countAfter);
$solution.find(“.lia-button-image-kudos-give”).find(‘.kudo-seperator-bar’).css(‘visibility’,’hidden’);
$solution.find(‘.lia-button-image-kudos-count’).css(‘display’,’none’);
}else{
$solution.find(“.lia-component-kudos-widget-message-kudos-count”).text(countAfter);
}
$solution.find(“.lia-button-image-kudos”)
.find(“.lia-link-disabled”)
.removeClass(“messageId-“+messageId)
.addClass(“lia-link-navigation”)
.attr(“title”,’Thank you for giving kudos to this post.’);
$(“.messageId-“+messageId +’ .lia-link-disabled’).unbind(‘click’);
findIndexForKudos(messageId,false); // false decrease kudo
$(“#lia-body.ForumTopicPage .lia-content .lia-panel-message .solution-id-“+messageId+” .lia-button-image-kudos-give”).on(“click”,”.lia-link-navigation”,function(e){
//debugger;
$.giveKudoToThisMessage(messageId);
$.increaseKudoCount(messageId);
});
applyToolTip($solution,false);
}
function findIndexForKudos(messageId,bflag){
return;
var id = messageId;
$(“.ForumTopicPage .lia-linear-display-message-view”).each(function(index) {
var pagination_element = $(this).find(“.”+id);
var test = $(this).find(“.lia-component-kudos-widget-button”);
var currentObj;
for(var i=0;i
$(“.kudo-modal”).css(“width”,”422px”);
}
//Adding Mac specific css for Modal rank icons
if(navigator.userAgent.indexOf(‘Mac’)>0){
$(“.lia-content .who-kudoed-modal-container .who_kudoed_modal_content .kudo_modal_user_rank_icon”).css(“margin-top”,”-4px”);
}
});
}
function bind_showkudos_click(){
//console.log(‘in bind_showkudos_click’);
$(“a.lia-link-navigation.kudos-count-link”).unbind(‘click’);
$(“a.lia-link-navigation.kudos-count-link”).bind(‘click’,function( event ) {
currentSelectedObject = null;
event.preventDefault();
//LIT-1158 – Changing GA to GTM
//Adding google analytic code on click
//ga(‘send’, ‘event’, ‘Kudos’, ‘Who Kudo’d This Post’, pageMessageSubject);
dataLayer.push({
‘event’: ‘whokudoedthis’,
‘gtm.custom.label’: pageMessageSubject
});
$(“.kudo-modal”).css(“width”,”408px”);
var page_number = 1;
var page_size = 20;
var link_href = $(this).data(“userUrl”);
var who_kudoed_modal_title = “People Kudoed This Post”;
var loading_image = “/skins/images/3B0BDB8F3CA8AEE00AA456E25C545DAB/base/images/feedback_loading.gif” ;
$.ajax({
type: “POST”,
url: “/plugins/custom/autodesk/autodesk/autodesk.get.kudoers.count?link_url=”+link_href,
async: false,
success : function (data){
kudoersCountWhoKudoed = data;
$(“.who-kudoed-title”).html(‘‘+kudoersCountWhoKudoed+’ ‘+who_kudoed_modal_title+’‘);
},
error : function(e){}
});
$(“.who_kudoed_inner_content”).html(“”);
$(“.who_kudoed_inner_content”).html(“
“);
$(“.kudo-modal-overlay”).removeClass(“kudo-modal-overlay-hidden”);
scroll_lock();
$(“.who-kudoed-modal-container”).removeClass(“kudo-modal-hidden”).addClass(“kudo-modal-shown”).fadeIn(“slow”);
ajax_call(link_href,page_size,page_number,1);
var pagecount = Math.ceil( parseInt(kudoersCountWhoKudoed) / parseInt(page_size) ) ;
$(“.who_kudoed_modal_content”).bind(“scroll”, function(){
var total_height = $(“.who_kudoed_modal_content”).scrollTop() + $(“.who_kudoed_modal_content”).height();
//check for IE11 ..if IE11 then decrease total height by 1
//removed IE11 condition as it was just loading one page results
//var isIE11 = window.MSInputMethodContext && document.documentMode;
var isIE11 = navigator.userAgent.match(/Trident.*rv[ :]*11./);
/*if (!!(isIE11)) {
total_height = total_height -1;
}*/
//console.log(“who_kudoed_inner_content height: “+$(“.who_kudoed_modal_content”).height());
//console.log(“scrollTop: “+$(“.who_kudoed_modal_content”).scrollTop());
//console.log(“total_height : “+total_height);
//console.log(“inner content height: “+$(“.who_kudoed_inner_content”).height() );
if( ( Math.round(total_height) $(“.who_kudoed_inner_content”).height() ) && ( $(“.who_kudoed_modal_content”).scrollTop() !=0 ) ){
page_number = page_number +1;
if(page_number
“);
var scrollpos = $(“.who_kudoed_modal_content”).scrollTop() + 1;
ajax_call(link_href,page_size,page_number,scrollpos);
}
}
});
$(“.who-kudoed-modal-container .close-icon-kudo-modal img”).click(function(){
$(“.who_kudoed_inner_content”).html(“”);
$(“.kudo-modal-overlay”).addClass(“kudo-modal-overlay-hidden”);
$(“.kudo-modal-shown”).addClass(“kudo-modal-hidden”).removeClass(“kudo-modal-shown”);
scroll_unlock();
});
$(document).keyup(function(e) {
if (e.keyCode 27) { // escape key maps to keycode `27`
$(“.who_kudoed_inner_content”).html(“”);
$(“.kudo-modal-overlay”).addClass(“kudo-modal-overlay-hidden”);
$(“.kudo-modal-shown”).addClass(“kudo-modal-hidden”).removeClass(“kudo-modal-shown”);
scroll_unlock();
$(“.user-popup”).remove();
}
});
});
}
function scroll_lock(){
//console.log(‘in scroll lock’);
var scrollPosition = [
self.pageXOffset document.documentElement.scrollLeft document.body.scrollLeft,
self.pageYOffset document.documentElement.scrollTop document.body.scrollTop
];
var html = $(‘html’); // it would make more sense to apply this to body, but IE7 wont have that
html.data(‘scroll-position’, scrollPosition);
html.data(‘previous-overflow’, html.css(‘overflow’));
html.css(‘overflow’, ‘hidden’);
window.scrollTo(scrollPosition[0], scrollPosition[1]);
}
function scroll_unlock(){
// console.log(‘in scroll unlock’);
var html = $(‘html’);
var scrollPosition = html.data(‘scroll-position’);
html.css(‘overflow’, ‘scroll’);
window.scrollTo(scrollPosition[0], scrollPosition[1]);
}
$(document).ready(function() {
$(“body”).append(“”);
$(“a.lia-link-navigation.kudos-count-link”).each(function(){
var hrefParam = $(this).attr(‘href’);
$(this).data(“userUrl”,hrefParam);
$(this).attr(“href”,”#”);
});
$(‘kudo_modal_user’).each(function(){
var current = $(this);
var user_id = $(this).find(‘a.lia-link-navigation.lia-page-link.lia-user-name-link’).split(‘/’).slice(-1)[0];
//console.log(user-id);
var author = $(this).find(“.kudo_modal_user_name.UserName”);
$.ajax({
type: “POST”,
url: “/plugins/custom/autodesk/autodesk/forum_message_user_details?user_id=”+user_id,
success: function(data){
$(current).find(“.lia-message-author-avatar”).html(author);
$(current).find(“.lia-message-author-avatar”).append(data);
}
});
});
$(“#lia-body .lia-button-image-kudos-give”).append(“
/*
$(“.lia-message-kudos .lia-button-image-kudos-wrapper”).each(function() {
var kudos_count = $(this).find(“.MessageKudosCount.lia-component-kudos-widget-message-kudos-count”).text();
if( kudos_count 0 ){
$(this).find(“.lia-button-image-kudos-count”).css(“display”,”none”);
$(this).find(“.lia-button-image-kudos.lia-button-image-kudos-disabled.lia-button-image-kudos-not-kudoed”).addClass(“disabled-not-kudoed”);
$(this).find(“.lia-button-image-kudos.lia-button-image-kudos-enabled.lia-button-image-kudos-not-kudoed”).addClass(“enabled-not-kudoed”);
$(this).find(“.lia-button-image-kudos-give .kudo-seperator-bar”).css(“visibility”,”hidden”);
}
});
*/
checkForKudoCount();
bind_showkudos_click();
$(“.lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give .give-kudo-text”).click(function(){
var elem = $(this).closest(“.lia-button-image-kudos-give”);
var elem2 = elem.find(“a.kudos-link”);
if($(elem2) != undefined)
$(elem2).click();
});
$(“.kudo-modal-overlay”).click(function(){
$(“.who_kudoed_inner_content”).html(“”);
$(“.kudo-modal-overlay”).addClass(“kudo-modal-overlay-hidden”);
$(“.kudo-modal-shown”).addClass(“kudo-modal-hidden”).removeClass(“kudo-modal-shown”);
scroll_unlock();
});
var bodyWidth = $(“body”).width();
$(“body”).width(bodyWidth);
/* persistent: Changed script: LIT-894: 28-Jan-2015 */
applyClickForKudo();
//Adding Mac specific css for Modal title
if(navigator.userAgent.indexOf(‘Mac’)>0){
$(“.lia-content .who-kudoed-modal-container .who_kudoed_modal_wrapper .who-kudoed-modal-header .who-kudoed-title”).css(“padding”,”20px 0 0px 11px”);
$(“#lia-body.ForumTopicPage .lia-content .lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a, #lia-body.BlogArticlePage .lia-content .lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a”).css(“margin-top”,”-3px”);
$(“#lia-body.ForumTopicPage .lia-content .lia-button-image-kudos-wrapper .lia-button-image-kudos-disabled.lia-button-image-kudos-kudoed .lia-button-image-kudos-give .kudos-link.lia-link-disabled, #lia-body.BlogArticlePage .lia-content .lia-button-image-kudos-wrapper .lia-button-image-kudos-disabled.lia-button-image-kudos-kudoed .lia-button-image-kudos-give .kudos-link.lia-link-disabled”).css(“margin-top”,”-3px”);
}
var currentSelectedType = “”;
function checkForKudoCount(){
$(“.lia-message-kudos .lia-button-image-kudos-wrapper”).each(function() {
var kudos_count = $(this).find(“.MessageKudosCount.lia-component-kudos-widget-message-kudos-count”).text();
if( kudos_count 0 ){
$(this).find(“.lia-button-image-kudos-count”).css(“display”,”none”);
$(this).find(“.lia-button-image-kudos.lia-button-image-kudos-disabled.lia-button-image-kudos-not-kudoed”).addClass(“disabled-not-kudoed”);
$(this).find(“.lia-button-image-kudos.lia-button-image-kudos-enabled.lia-button-image-kudos-not-kudoed”).addClass(“enabled-not-kudoed”);
$(this).find(“.lia-button-image-kudos-give .kudo-seperator-bar”).css(“visibility”,”hidden”);
}
});
}
function applyClickForKudo(){
if(currentSelectedObject != undefined){
var index = currentSelectedType.indexOf(“kudos-revoke-link”);
if(index -1){
$(“.lia-component-actions .lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a.lia-link-navigation.kudos-revoke-link”).click(KudoClickedFunction);
}else{
$(“.lia-component-actions .lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a.lia-link-navigation.kudos-link”).click(KudoClickedFunction);
}
}else{
$(“.lia-component-actions .lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a.kudos-link”).click(KudoClickedFunction);
giveRevokeKudos();
}
}
var theCurrentParent;
function KudoClickedFunction(event){
//console.log(“inside a click….”);
if(LITHIUM.CommunityJsonObject.User.isAnonymous false){
//console.log(“inside the timout…..”);
theCurrentParent = null;
var thisparent = $(this).closest(“.lia-message-kudos”);
$(thisparent).css(“pointer-events”,”none”);
theCurrentParent = $(thisparent);
currentSelectedObject = null;
currentSelectedObject = event.currentTarget;
currentSelectedType = event.currentTarget.className;
//debugger;
var kudosCountLink = $(thisparent).find(“a.lia-link-navigation.kudos-count-link”);
var hrefParam = $(kudosCountLink).attr(‘href’);
$(kudosCountLink).data(“userUrl”,hrefParam);
$(kudosCountLink).attr(“href”,”#”);
setTimeout(function(){
//console.log(“inside set timeout…2000”);
$(thisparent).css(“pointer-events”,”all”);
}, 2000);
}
}
function applyTheKudoStr(){
if(checkIfKudosHasCount() false){
//console.log(“inside set timeout…1850”);
var new_elem = $(theCurrentParent).find(“.lia-button-image-kudos .lia-button-image-kudos-give”);
//console.log(“new element”,new_elem);
$(new_elem).find(“span”).remove();
$(new_elem).append(“
bind_showkudos_click();
var kudosCountLink = $(theCurrentParent).find(“a.lia-link-navigation.kudos-count-link”);
var hrefParam = $(kudosCountLink).attr(‘href’);
$(kudosCountLink).data(“userUrl”,hrefParam);
$(kudosCountLink).attr(“href”,”#”);
}
}
function checkIfKudosHasCount(){
var bflag = false;
var kudos_count = $(theCurrentParent).find(“.MessageKudosCount.lia-component-kudos-widget-message-kudos-count”).text();
if( kudos_count 0 ){
$(theCurrentParent).find(“.lia-button-image-kudos-count”).css(“display”,”none”);
$(theCurrentParent).find(“.lia-button-image-kudos.lia-button-image-kudos-disabled.lia-button-image-kudos-not-kudoed”).addClass(“disabled-not-kudoed”);
$(theCurrentParent).find(“.lia-button-image-kudos.lia-button-image-kudos-enabled.lia-button-image-kudos-not-kudoed”).addClass(“enabled-not-kudoed”);
$(theCurrentParent).find(“.lia-button-image-kudos-give .kudo-seperator-bar”).css(“visibility”,”hidden”);
$(theCurrentParent).find(“.lia-button-image-kudos-give”).append(“
bflag = true;
}
return bflag;
}
function giveRevokeKudos(){
if(LITHIUM.CommunityJsonObject.User.isAnonymous false){
$(‘.lia-component-actions .lia-button-image-kudos-give’).unbind(‘click’);
$(‘.lia-component-actions .lia-button-image-kudos-give’).click(function(event){
var len = event.currentTarget.children.length;
for(var i =0;i
var msgAuthor = $bigparent.find(“.autodesk-form-forummessage-author .lia-user-name .lia-user-name-link span”).text();
//console.log(“GA push Accept as sol: “+msg_id+” “+” AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1 ” + msgAuthor);
dataLayer.push({
‘event’: ‘acceptedsolutions’,
‘gtm.custom.action’: ”,
‘gtm.custom.label’: “AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1”,
‘gtm.custom.value’: msg_id,
‘gtm.custom.contentauthor’: msgAuthor
});
});
//LIT-1006 adding GA code for was this helpful button
$(“.was-this-helpful”).on(“click”,”.helpful-action-buttons button”,function(){
var yesNo = $(this).text();
//console.log(“GA push was this helpful: “+yesNo+” AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1″);
dataLayer.push({
‘event’: ‘wasthishelpful’,
‘gtm.custom.action’: yesNo,
‘gtm.custom.label’: “AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1”
});
});
//LIT-1006 adding GA code for kudos
$(“.lia-button-image-kudos-wrapper .lia-button-image-kudos-enabled .lia-button-image-kudos-give a.kudos-link”).click(function(){
var $bigparent = $(this).closest(“.lia-linear-display-message-view”);
var actionType = ‘Any Post’;
var msg_id = $($bigparent).find(“.lia-component-forums-widget-board-message-view>div:first”).data(“message-id”);
var accSoln = $($bigparent).find(“.accepted-solution”);
accSoln = accSoln.length;
if(accSoln > 0){
actionType = ‘Accepted Solution’;
}
var rootThread = $($bigparent).find(“.lia-panel-message-root”);
rootThread = rootThread.length;
if(rootThread > 0){
actionType = ‘First Post of Thread’;
}
var kudos_weight = “1”;
var total_kudos = $($bigparent).find(“.lia-quilt-row-forum-message-footer .MessageKudosCount”).text();
total_kudos = parseInt(total_kudos.replace(‘,’,”)) + parseInt(kudos_weight);
//console.log(“GA push kudos: “+actionType+” “+msg_id+” “+kudos_weight+” “+total_kudos);
dataLayer.push({
‘event’: ‘Kudos’,
‘gtm.custom.action’: actionType,
‘gtm.custom.label’: msg_id,
‘gtm.custom.kudosgiven’: parseInt(kudos_weight),
‘gtm.custom.kudoscount’: total_kudos
});
});
/* LIT-1447 : removing share functionality
//LIT-1007 adding GA code for share
$(“.lia-message-sharethis a.lia-js-add-this-widget”).on(“click”,function(){
console.log(“GA push share: Share button: AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1”);
dataLayer.push({
‘event’: ‘addthissocial’,
‘gtm.custom.addthissocialnetwork’: ‘Share’,
‘gtm.custom.addthissocialaction’: ‘Share Link’,
‘gtm.custom.addthissocialtarget’: “AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1”
});
});
$(“body”).on(“click”,”#at_hover a”,function(){
var socialTitle = $(this).find(“.at-label”).text();
//console.log(“GA push share: “+socialTitle+” AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1″);
dataLayer.push({
‘event’: ‘addthissocial’,
‘gtm.custom.addthissocialnetwork’: ‘Share’,
‘gtm.custom.addthissocialaction’: socialTitle,
‘gtm.custom.addthissocialtarget’: “AutoCAD Civil 3D: AutoCAD Civil 3D Forum: (Unanswered) Break Pipe Command: Page 1”
});
}); */
})(LITHIUM.jQuery);
LITHIUM.DropDownMenu({“hoverLeaveEvent”:”LITHIUM:hoverLeave”,”mouseoverElementSelector”:”.lia-js-mouseover-menu”,”menuOpenCssClass”:”dropdownHover”,”clickElementSelector”:”.lia-js-click-menu”,”menuElementSelector”:”.lia-menu-navigation-wrapper”,”menuItemsSelector”:”.lia-menu-dropdown-items”,”menuClosedEvent”:”LITHIUM:menuClosed”,”closeMenuEvent”:”LITHIUM:closeMenu”,”menuOpenedEvent”:”LITHIUM:menuOpened”});
(function($) {
var shareURl = ”;
var icons = [‘facebook’, ‘twitter’, ‘linkedin’, ’email’];
for (var i in icons) {
$(“.” + icons[i]).on(“click”, function(e) {
if ($(this).attr(“class”) ‘facebook’) {
shareURl = ‘https://www.facebook.com/sharer/sharer.php?u=’;
openWindow();
$(this).attr(“href”, shareURl);
return false;
} else if ($(this).attr(“class”) ‘twitter’) {
shareURl = ‘https://twitter.com/intent/tweet?url=’;
$(this).attr(“href”, shareURl);
openWindow();
return false;
} else if ($(this).attr(“class”) ‘linkedin’) {
shareURl = ‘https://www.linkedin.com/cws/share?url=’;
$(this).attr(“href”, shareURl);
openWindow();
return false;
} else {
var sTitle = document.querySelector(“meta[property=’og:title’]”).getAttribute(‘content’);
window.location = ‘mailto:?subject=’ + encodeURIComponent(sTitle) + ‘&body=’ + window.location.href;
return false;
}
})
}
function openWindow() {
window.open(shareURl + encodeURIComponent(document.location), ‘Share’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300’);
}
})(LITHIUM.jQuery);
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_0″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.ResizeImages(705, ‘.lia-js-resize-images .lia-message-body-content img’, ‘message-max-width-img’);
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_1″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_2″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.MessageBodyDisplay(‘#messagebodydisplay_0’, ‘.lia-truncated-body-container’, ‘#viewMoreLink’, ‘.lia-full-body-container’ );
LITHIUM.AjaxSupport.ComponentEvents.set({
“eventActions” : [
{
“event” : “kudoEntity”,
“actions” : [
{
“context” : “envParam:entity”,
“action” : “rerender”
}
]
}
],
“componentId” : “kudos.widget.button”,
“initiatorBinding” : true,
“selector” : “#kudosButtonV2”,
“parameters” : {
“displayStyle” : “horizontal”,
“disallowZeroCount” : “false”,
“revokeMode” : “true”,
“kudosable” : “true”,
“showCountOnly” : “false”,
“useCountToKudo” : “false”,
“entity” : “7860520”,
“linkDisabled” : “false”
},
“initiatorDataMatcher” : “data-lia-kudos-id”
});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_3″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.AjaxSupport.ComponentEvents.set({
“eventActions” : [
{
“event” : “approveMessage”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
},
{
“context” : “”,
“action” : “pulsate”
}
]
},
{
“event” : “unapproveMessage”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
},
{
“context” : “”,
“action” : “pulsate”
}
]
},
{
“event” : “deleteMessage”,
“actions” : [
{
“context” : “lia-deleted-state”,
“action” : “addClassName”
},
{
“context” : “”,
“action” : “pulsate”
}
]
},
{
“event” : “QuickReply”,
“actions” : [
{
“context” : “envParam:feedbackData”,
“action” : “rerender”
}
]
},
{
“event” : “expandMessage”,
“actions” : [
{
“context” : “envParam:quiltName,expandedQuiltName”,
“action” : “rerender”
}
]
},
{
“event” : “ProductAnswer”,
“actions” : [
{
“context” : “envParam:quiltName”,
“action” : “rerender”
}
]
},
{
“event” : “ProductAnswerComment”,
“actions” : [
{
“context” : “envParam:selectedMessage”,
“action” : “rerender”
}
]
},
{
“event” : “editProductMessage”,
“actions” : [
{
“context” : “envParam:quiltName,message”,
“action” : “rerender”
}
]
},
{
“event” : “ProductMessageEdit”,
“actions” : [
{
“context” : “envParam:quiltName”,
“action” : “rerender”
}
]
},
{
“event” : “addThreadUserEmailSubscription”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
}
]
},
{
“event” : “removeThreadUserEmailSubscription”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
}
]
},
{
“event” : “addMessageUserEmailSubscription”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
}
]
},
{
“event” : “removeMessageUserEmailSubscription”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
}
]
},
{
“event” : “markAsSpamWithoutRedirect”,
“actions” : [
{
“context” : “”,
“action” : “rerender”
}
]
}
],
“componentId” : “forums.widget.message-view”,
“initiatorBinding” : true,
“selector” : “#messageview”,
“parameters” : {
“disableLabelLinks” : “false”,
“truncateBodyRetainsHtml” : “false”,
“forceSearchRequestParameterForBlurbBuilder” : “false”,
“kudosLinksDisabled” : “false”,
“useSubjectIcons” : “true”,
“quiltName” : “ForumMessage”,
“truncateBody” : “true”,
“message” : “7860520”,
“includeRepliesModerationState” : “false”,
“useSimpleView” : “false”,
“useTruncatedSubject” : “true”,
“disableLinks” : “false”,
“messageViewOptions” : “1111110111111111111110111110100101010101”
},
“initiatorDataMatcher” : “data-lia-message-uid”
});
LITHIUM.MessageViewDisplay({“openEditsSelector”:”.lia-inline-message-edit”,”renderInlineFormEvent”:”LITHIUM:renderInlineEditForm”,”componentId”:”lineardisplaymessageviewwrapper”,”componentSelector”:”#lineardisplaymessageviewwrapper”,”editEvent”:”LITHIUM:editMessageViaAjax”,”collapseEvent”:”LITHIUM:collapseInlineMessageEditor”,”messageId”:7860520,”confimationText”:”You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?”,”loaderSelector”:”#lineardisplaymessageviewwrapper .lia-message-body-loader .lia-loader”,”expandedRepliesSelector”:”.lia-inline-message-reply-form-expanded”});
LITHIUM.AjaxSupport({“ajaxOptionsParam”:{“event”:”LITHIUM:renderInlineEditForm”},”tokenId”:”ajax”,”elementSelector”:”#lineardisplaymessageviewwrapper”,”action”:”renderInlineEditForm”,”feedbackSelector”:”#lineardisplaymessageviewwrapper”,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.lineardisplay.lineardisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/66/message-id/366300/thread-id/366300&ticket=wOk_P0CbqNhJ_-1″,”ajaxErrorEventName”:”LITHIUM:ajaxError”,”token”:””});
;(function($, window, document, undefined){
var beehive = ‘//beehive.autodesk.com’;
var AutodeskHelpful = function(element, options) {
this.options = $.extend(true, {}, this.defaultOptions, options {});
var $element = $(element);
if ($element.hasClass(‘was-this-helpful’)) {
this.element = $element;
} else {
this.element = $(document.createElement(‘div’)).addClass(‘was-this-helpful’);
$element.append(this.element);
}
this._create();
};
$.extend(AutodeskHelpful.prototype, {
defaultOptions: {
server: beehive,
event: ‘helpful’,
i18n: {
HELPFUL_QUESTION: ‘Did you find this discussion helpful?’,
HELPFUL_POSITIVEFEEDBACK: ‘We’re glad you found this discussion helpful.’,
HELPFUL_NEGATIVEFEEDBACK: ‘Thank you for your feedback.’,
HELPFUL_CHANGEANSWER: ‘Change Answer?’,
HELPFUL_YES: ‘YES’,
HELPFUL_NO: ‘NO’,
HELPFUL_COMMENT_SUBMIT: ‘SUBMIT’,
HELPFUL_COMMENT_POSITIVE: ‘What did you like about it? (optional)‘,
HELPFUL_COMMENT_NEGATIVE: ‘No: How can we improve this discussion? (optional)‘,
HELPFUL_COMMENT_SENT: ‘Thank you for your feedback!’
},
cssClasses: {
base: ‘helpful-container’,
header: ”,
question: ”,
questionButtons: ‘helpful-button small-button’,
commentSubmitButton: ”
},
useTrackEvent: false,
commentsEnabled: true,
commentsMaxLength: 300
},
clearSelection: function() {
this._setValue(undefined);
},
_setValue: function(value) {
// setValue automatically calls eventlog
this.loggingHelper.setValue(value);
// optional call to eventtrack
if ((value ! undefined) && this.options.useTrackEvent) {
var data = this.loggingHelper.getData();
$.extend(data, {
ekey: data.ck data.u,
kt: !!data.ck ? ‘caaskey’ : ‘url’
});
this.loggingHelper._logger.track(data);
}
},
_disableButtons: function() {
this.buttonYes.detach();
this.buttonNo.detach();
},
_enableButtons: function() {
this.theButtons.append(this.buttonYes, this.buttonNo);
},
_limitLength: function(textarea) {
var fn = {
commonFilter: function (e) {
var maxlen = parseInt(textarea.attr(‘maxlength’), 10) 300;
var val = $.trim(textarea.val());
if (val.length > maxlen) {
textarea.val(val.substring(0, maxlen));
e.preventDefault();
}
},
downFilter: function (e) {
var maxlen = parseInt(textarea.attr(‘maxlength’), 10) 300;
var val = $.trim(textarea.val());
if (val.length maxlen && e.which > 32) e.preventDefault();
}
};
return $(textarea).on({ keypress: fn.commonFilter, keyup: fn.commonFilter, blur: fn.commonFilter, keydown: fn.downFilter });
},
_onStateChange: function(value) {
if (value ! undefined) this.__userStateChanged = true;
this.refresh();
},
_create: function() {
var template = ‘
‘‘ +
‘{{i18n.HELPFUL_QUESTION}}‘ +
‘
‘ +
‘‘ +
‘‘ +
‘
‘
‘ +
‘
‘ +
” +
‘
‘;
this.element.empty().append(AKPAnalytics.util.interpolateText(template, this.options));
this.helpfulBody = this.element.find(‘.helpful-body’);
this.theButtons = this.element.find(‘.helpful-action-buttons’);
this.question = this.element.find(‘.helpful-text’);
this.buttonYes = this.theButtons.find(‘.helpful-yes’).data(‘adsk-ui-response’, {value: true}).detach();
this.buttonNo = this.theButtons.find(‘.helpful-no’).data(‘adsk-ui-response’, {value: false}).detach();
this.buttonClear = this.theButtons.find(‘.helpful-reset’).detach();
this.commentsWrap = this.element.find(‘.helpful-comment-wrap’).detach();
this.commentsTitle = this.commentsWrap.find(‘.helpful-comment-title’);
this.commentsCounter = this.commentsWrap.find(‘.helpful-comment-counter’);
this.commentsField = this.commentsWrap.find(‘.helpful-comment-field’).val(”);
this._limitLength(this.commentsField);
this._bindEvents();
// initiate a logging helper
this.loggingHelper = new AKPAnalytics.LoggingHelper({
appId: this.options.appId,
server: this.options.server,
userId: this.options.userId,
event: this.options.event,
stateful: true,
data: this.options.data,
onStateChange: $.proxy(this._onStateChange, this)
});
return this.refresh();
},
_destroy: function () {
this.element.empty();
},
_bindEvents: function(){
var self = this;
this.element.on(‘click’, ‘.helpful-action-buttons .helpful-action’, function(){
var data = $(this).data(‘adsk-ui-response’) {};
self._setValue(data.value);
});
this.element.on(‘click’, ‘.helpful-comment-wrap .helpful-comment-button’, function(){
var comment = $.trim(self.commentsField.val());
var data = self.loggingHelper.getData();
if (!comment) return;
$.extend(data, {
uc: comment,
e: data.e + ‘_comment’
});
self.loggingHelper._logger.log(data);
self.__userFeedbackGiven = true;
self.refresh();
});
this.element.on(‘submit’, ‘.helpful-comment-form’, function(e){
e.preventDefault();
});
this.element.on(‘keyup’, ‘.helpful-comment-field’, function(){
self._updateCounter();
});
},
setOptions: function(options) {
$.extend(true, this.options, options);
if (options.i18n options.server options.event) {
return this._create();
} else {
return this.refresh();
}
},
_updateCounter: function() {
var comment = $.trim(this.commentsField.val());
this.commentsCounter.html(comment.length + ‘/’ + this.options.commentsMaxLength);
Sanitary Pipe Fittings Autocad Commands For Free
if (comment.length this.options.commentsMaxLength) {
this.commentsCounter.addClass(‘limit-reached’);
} else {
this.commentsCounter.removeClass(‘limit-reached’);
}
},
refresh: function(){
var currentValue = this.loggingHelper.getValue();
if (currentValue ! undefined) {
var feedback = currentValue ? this.options.i18n.HELPFUL_POSITIVEFEEDBACK : this.options.i18n.HELPFUL_NEGATIVEFEEDBACK;
this.question.html(feedback);
this.buttonClear.appendTo(this.theButtons);
this._disableButtons();
Dwg Pipe Fittings
if (this.options.commentsEnabled && this.__userStateChanged && !this.__userFeedbackGiven) {
var formTitle = currentValue ? this.options.i18n.HELPFUL_COMMENT_POSITIVE : this.options.i18n.HELPFUL_COMMENT_NEGATIVE;
this.commentsTitle.html(formTitle);
this.helpfulBody.after(this.commentsWrap);
} else {
this.commentsWrap.detach();
if (this.__userFeedbackGiven) {
this.helpfulBody.html(‘
}
}
} else {
this.question.html(this.options.i18n.HELPFUL_QUESTION);
this.buttonClear.detach();
this._enableButtons();
this.commentsWrap.detach();
}
return this;
}
});
$.fn.helpful = function(options) {
if (this.data(‘autodeskHelpful’)) {
if (options ‘option’) {
return this.data(‘autodeskHelpful’).setOptions(arguments[1]);
} else {
return this.data(‘autodeskHelpful’);
}
} else {
var widget = new AutodeskHelpful(this, options);
this.data(‘autodeskHelpful’, widget);
return widget;
}
};
})(LITHIUM.jQuery, window, document);
;(function($){
$(function(){
var beehive = ‘//beehive.autodesk.com’;
$(‘.was-this-helpful’).helpful({
appId: ‘knowledge’,
server: beehive,
data: {
u: document.location.href,
t: document.title
}
});
});
})(LITHIUM.jQuery);
(function($) {
var shareURl = ”;
var icons = [‘facebook-bottom’, ‘twitter-bottom’, ‘linkedin-bottom’, ’email-bottom’];
//console.log(“Icons”+icons);
for (var i in icons) {
$(“.” + icons[i]).on(“click”, function(e) {
//console.log($(this).attr(“class”));
if ($(this).attr(“class”) ‘facebook-bottom’) {
shareURl = ‘https://www.facebook.com/sharer/sharer.php?u=’;
openWindow();
$(this).attr(“href”, shareURl);
return false;
} else if ($(this).attr(“class”) ‘twitter-bottom’) {
shareURl = ‘https://twitter.com/intent/tweet?url=’;
$(this).attr(“href”, shareURl);
openWindow();
return false;
} else if ($(this).attr(“class”) ‘linkedin-bottom’) {
shareURl = ‘https://www.linkedin.com/cws/share?url=’;
$(this).attr(“href”, shareURl);
openWindow();
return false;
} else if($(this).attr(“class”) ’email-bottom’){
var sTitle = document.querySelector(“meta[property=’og:title’]”).getAttribute(‘content’);
window.location = ‘mailto:?subject=’ + encodeURIComponent(sTitle) + ‘&body=’ + window.location.href;
return false;
}
})
}
function openWindow() {
window.open(shareURl + encodeURIComponent(document.location), ‘Share’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300’);
}
})(LITHIUM.jQuery);
;(function($) {
$.each($(“.lia-message-body-content”),function(index,val){
if(val.children.length>2){
var attach=$(val).find(“.Attachments.preview-attachments”);
var sign=$(val).find(“.UserSignature.lia-message-signature”);
$(sign).prepend(attach);
}
});
})(LITHIUM.jQuery);
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_0″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_1″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_2″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_3″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching…”,”emptyText”:”No Matches”,”successText”:”Results:”,”defaultText”:”Enter a search word”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c707fe7ec’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c7058f6c6_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#messageSearchField_b2e87c7058f6c6_0″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching…”,”emptyText”:”No Matches”,”successText”:”Results:”,”defaultText”:”Enter a search word”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c708e0a9f’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c7058f6c6_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#messageSearchField_b2e87c7058f6c6_1″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching for users…”,”emptyText”:”No Matches”,”successText”:”Users found:”,”defaultText”:”Enter a user name or rank”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c7099e391’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c7058f6c6_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#userSearchField_b2e87c7058f6c6″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AjaxSupport({“ajaxOptionsParam”:{“event”:”LITHIUM:userExistsQuery”,”parameters”:{“javascript.ignore_combine_and_minify”:”true”}},”tokenId”:”ajax”,”elementSelector”:”#userSearchField_b2e87c7058f6c6″,”action”:”userExistsQuery”,”feedbackSelector”:”#ajaxfeedback_b2e87c7058f6c6_0″,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.usersearchfield:userexistsquery?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”ajaxErrorEventName”:”LITHIUM:ajaxError”,”token”:””});
LITHIUM.AutoComplete({“options”:{“triggerTextLength”:0,”updateInputOnSelect”:true,”loadingText”:”Searching…”,”emptyText”:”No Matches”,”successText”:”Results:”,”defaultText”:”Enter a search word”,”disabled”:false,”footerContent”:[{“scripts”:”nnLITHIUM.AjaxSupport.fromLink(‘#disableAutoComplete_b2e87c70a6cec2’, ‘disableAutoComplete’, ‘#ajaxfeedback_b2e87c7058f6c6_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);”,”content”:”turn off suggestions”}]},”inputSelector”:”#noteSearchField_b2e87c7058f6c6″,”redirectToItemLink”:false,”url”:”https://forums.autodesk.com/t5/forums/forumtopicpage.searchform.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/66/message-id/366300/thread-id/366300&t:cp=search/contributions/page”,”resizeImageEvent”:”LITHIUM:renderImages”});
LITHIUM.AjaxSupport.fromLink(‘#enableAutoComplete_b2e87c7058f6c6’, ‘enableAutoComplete’, ‘#ajaxfeedback_b2e87c7058f6c6_0’, ‘LITHIUM:ajaxError’, {}, ”, ‘ajax’);
LITHIUM.Tooltip({“bodySelector”:”body#lia-body”,”delay”:30,”triggerSelector”:”#link_b2e87c7058f6c6″,”tooltipContentSelector”:”#link_b2e87c7058f6c6_0-tooltip-element .content”,”position”:[“bottom”,”left”],”tooltipElementSelector”:”#link_b2e87c7058f6c6_0-tooltip-element”,”events”:{“def”:”focus mouseover,blur mouseout”}});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_4″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.SearchAutoCompleteToggle({“containerSelector”:”#searchautocompletetoggle_b2e87c7058f6c6″,”enableAutoCompleteSelector”:”.search-autocomplete-toggle-link”,”enableAutocompleteSuccessEvent”:”LITHIUM:ajaxSuccess:enableAutoComplete”,”disableAutoCompleteSelector”:”.lia-autocomplete-toggle-off”,”disableAutocompleteSuccessEvent”:”LITHIUM:ajaxSuccess:disableAutoComplete”,”autoCompleteSelector”:”.lia-autocomplete-input”});
LITHIUM.InformationBox({“updateFeedbackEvent”:”LITHIUM:updateAjaxFeedback”,”componentSelector”:”#informationbox_b2e87c7058f6c6_5″,”feedbackSelector”:”.InfoMessage”});
LITHIUM.SearchForm({“useAutoComplete”:true,”selectSelector”:”.lia-search-form-granularity”,”useClearSearchButton”:false,”buttonSelector”:”.lia-button-searchForm-action”,”formSelector”:”#lia-searchform_b2e87c7058f6c6″,”nodesModel”:{“autodesk community”:{“title”:”Search Community: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”},”66 forum-board”:{“title”:”Search Board: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”},”tkb tkb”:{“title”:”Articles”,”inputSelector”:”.lia-search-input-tkb-article”},”user user”:{“title”:”Users”,”inputSelector”:”.lia-search-input-user”},”66 category”:{“title”:”Search Category: AutoCAD Civil 3D Forum”,”inputSelector”:”.lia-search-input-message”}},”inputSelector”:”#messageSearchField_b2e87c7058f6c6_0″,”clearSearchButtonSelector”:null});
;(function($){
“use strict”;
$(function(){
var $placeHolder = $(“#lia-body .lia-content .lia-quilt-column-side-content .lia-custom-search-wrapper .search-placeholder”);
Sanitary Pipe Fittings Autocad Commands Free
var $searchInput = $(“#lia-body .lia-content .lia-quilt-column-side-content .lia-custom-search-wrapper .search-input.lia-search-input-message”);
var inputID = $searchInput.attr(“id”);
$placeHolder.attr(“for”,inputID);
$(“#lia-body .lia-content .lia-quilt-column-side-content .lia-custom-search-wrapper .search-input”)
.focus(function(){
if($.trim($(this).val()).length 0) {
$placeHolder.hide();
}
})
.blur(function(){
if($.trim($(this).val()).length 0) {
$placeHolder.show();
}
});
});
})(LITHIUM.jQuery);
;(function($){
“use strict”;
var AKN = {
threadId : “7860520”,
productId : $(“meta[name=sap_line]”).attr(“value”),
$grid : $(“.lia-component-custom-knowledge-network-widget .lia-list-standard”),
showAKN : function(){
$(“#lia-body .lia-content .lia-component-custom-knowledge-network-widget”).removeClass(“hidden”);
},
listTemplate: function(title,link){
return ‘
‘;
},
getEnvPhase : function(){
var phase = “”;
return phase;
},
populateData: function(){
var that = this;
$.ajax({
url: “https://beehive” + that.getEnvPhase() + “.autodesk.com/community/service/rest/caas/resource/lithium/jsonp?cb=?”,
dataType: “jsonp”,
jsonpCallback: “callBackFun”,
data:{id:that.threadId,p:encodeURIComponent(that.productId),l:”ENU”},
contentType: “application/json”,
success: function(result) {
if(typeof result.mlts “undefined”){
} else {
for (var i = 0 ;i